Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop
This commit is contained in:
@@ -421,10 +421,12 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
mainIdInt = utils.Str2Int64(storeSku.VendorMainId)
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("==storeSku := %s", utils.Format4Output(storeSku, false))
|
||||
// 修改商品
|
||||
param.ProductId = utils.Str2Int64(storeSku.VendorSkuID)
|
||||
param.MainProductId = mainIdInt
|
||||
param.SpecPrices = GetSpecPrices(param.Specs, vendorStoreID, param.MainProductId, storeSku)
|
||||
globals.SugarLogger.Debugf("==param := %s", utils.Format4Output(param, false))
|
||||
if err := api.EditStoreCommodity(param); err != nil {
|
||||
failedList = putils.GetErrMsg2FailedSingleList(storeSkuList, err, storeID, model.VendorChineseNames[model.VendorIDDD], syncType)
|
||||
storeSku.VendorSkuID = utils.Int2Str(storeSku.SkuID)
|
||||
|
||||
Reference in New Issue
Block a user