This commit is contained in:
邹宗楠
2024-04-28 10:37:08 +08:00
parent ad57146b69
commit 8b701bfbed
2 changed files with 361 additions and 56 deletions

View File

@@ -220,7 +220,9 @@ func (p *PurchaseHandler) CreateSku2(ctx *jxcontext.Context, sku *dao.StoreSkuSy
func (p *PurchaseHandler) UpdateSku2(ctx *jxcontext.Context, sku *dao.StoreSkuSyncInfo) (err error) {
param := skuInfo2Param(ctx, sku)
if globals.EnableJdStoreWrite {
globals.SugarLogger.Debugf("============param := %s", utils.Format4Output(param, false))
_, err = getAPI(sku.VendorOrgCode).UpdateSku2(param)
globals.SugarLogger.Debugf("============err := %v", err)
}
return err
}