Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop

This commit is contained in:
richboo111
2022-10-10 13:58:58 +08:00

View File

@@ -377,10 +377,10 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
tiktokResultChildren, err := api.CreateStoreCommodity(param)
if err != nil {
failedList = putils.GetErrMsg2FailedSingleList(storeSkuList, err, storeID, model.VendorChineseNames[model.VendorIDDD], syncType)
storeSku.VendorSkuID = utils.Int2Str(storeSku.SkuID)
continue
}
storeSku.VendorSkuID = utils.Int64ToStr(tiktokResultChildren.ProductId)
globals.SugarLogger.Debugf("tiktokResultChildren=============%s", utils.Format4Output(tiktokResultChildren, false))
storeSku.VendorSkuID = utils.Int2Str(storeSku.SkuID)
}
} else {
//syncType = "更新商品"