1
This commit is contained in:
@@ -80,6 +80,10 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId
|
||||
case 3:
|
||||
// 同步商品
|
||||
fromFoodList, err1 := fromApi.RetailListAll(utils.Int2Str(fromVendorStoreId))
|
||||
if len(fromFoodList) == 0 || fromFoodList == nil {
|
||||
return nil, fmt.Errorf("fromFoodList 为空")
|
||||
}
|
||||
globals.SugarLogger.Debugf("RetailListAll : %s", utils.Format4Output(len(fromFoodList), false))
|
||||
if err1 != nil {
|
||||
globals.SugarLogger.Debugf("RetailListAll : %s", utils.Format4Output(err, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user