1
This commit is contained in:
@@ -79,7 +79,6 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId
|
|||||||
case 3:
|
case 3:
|
||||||
// 同步商品
|
// 同步商品
|
||||||
fromFoodList, err1 := fromApi.RetailListAll(utils.Int2Str(fromVendorStoreId))
|
fromFoodList, err1 := fromApi.RetailListAll(utils.Int2Str(fromVendorStoreId))
|
||||||
globals.SugarLogger.Debugf("RetailListAll : %s", utils.Format4Output(fromFoodList, false))
|
|
||||||
if err1 != nil {
|
if err1 != nil {
|
||||||
globals.SugarLogger.Debugf("RetailListAll : %s", utils.Format4Output(err, false))
|
globals.SugarLogger.Debugf("RetailListAll : %s", utils.Format4Output(err, false))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -576,7 +576,6 @@ func SwitchAttr(apiObj *mtwmapi.API, vendorStoreID string, vendorCatID int64, na
|
|||||||
}
|
}
|
||||||
//更新进数据库
|
//更新进数据库
|
||||||
dao.UpdateSkuNameMtAttr(db, int64(nameID), attrs)
|
dao.UpdateSkuNameMtAttr(db, int64(nameID), attrs)
|
||||||
globals.SugarLogger.Debugf("SwitchAttr attrs=%s", utils.Format4Output(attrs, false))
|
|
||||||
return attrs
|
return attrs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user