Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop
This commit is contained in:
@@ -423,8 +423,9 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
|
||||
globals.SugarLogger.Debugf("==storeSku := %s", utils.Format4Output(storeSku, false))
|
||||
// 修改商品
|
||||
param.ProductId = utils.Str2Int64(storeSku.VendorSkuID)
|
||||
param.ProductId = mainIdInt
|
||||
param.MainProductId = mainIdInt
|
||||
//param.StoreId = utils.Str2Int64(vendorStoreID)
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user