This commit is contained in:
邹宗楠
2023-09-22 12:42:51 +08:00
parent 4ea34b258d
commit 40b9511e34
2 changed files with 0 additions and 2 deletions

View File

@@ -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))
} }

View File

@@ -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
} }