orgcode
This commit is contained in:
@@ -41,10 +41,12 @@ func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.S
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorStoreID string) (storeDetail *dao.StoreDetail2, err error) {
|
func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorStoreID string) (storeDetail *dao.StoreDetail2, err error) {
|
||||||
|
globals.SugarLogger.Debugf("storeID=======%d vendorStoreID==========%s", storeID, vendorStoreID)
|
||||||
relInfo, err := dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDDD, "")
|
relInfo, err := dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDDD, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.New("获取抖音平台账号信息失败,请重试")
|
return nil, errors.New("获取抖音平台账号信息失败,请重试")
|
||||||
}
|
}
|
||||||
|
globals.SugarLogger.Debugf("relInfo=========%s", utils.Format4Output(relInfo, false))
|
||||||
apiObj := getAPI(relInfo.VendorOrgCode)
|
apiObj := getAPI(relInfo.VendorOrgCode)
|
||||||
globals.SugarLogger.Debugf("relInfo.VendorOrgCode===========%s,apiObj=============%v", relInfo.VendorOrgCode, apiObj)
|
globals.SugarLogger.Debugf("relInfo.VendorOrgCode===========%s,apiObj=============%v", relInfo.VendorOrgCode, apiObj)
|
||||||
if storeInfo, err := apiObj.GetStoreDetail(&shop_getStoreDetail_request.ShopGetStoreDetailParam{
|
if storeInfo, err := apiObj.GetStoreDetail(&shop_getStoreDetail_request.ShopGetStoreDetailParam{
|
||||||
|
|||||||
Reference in New Issue
Block a user