微商城订单会自动上架商品

This commit is contained in:
gazebo
2019-11-06 09:38:37 +08:00
parent c2393c17be
commit 8d7671f34d
6 changed files with 37 additions and 14 deletions

View File

@@ -577,7 +577,7 @@ func DeleteWrongSpu(ctx *jxcontext.Context, isAsync, isContinueWhenError bool) (
mapData := map[string]interface{}{
"name": skuNameList[step].Name,
}
_, err = cms.UpdateSkuName(ctx, skuNameList[step].ID, mapData, ctx.GetUserName())
_, err = cms.UpdateSkuName(ctx, skuNameList[step].ID, mapData)
if err != nil {
globals.SugarLogger.Debugf("DeleteWrongSpu failed nameid:%d, name:%s, with error:%v", skuNameList[step].ID, skuNameList[step].Name, err)
}