1
This commit is contained in:
@@ -300,7 +300,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
updateParam.ProductId = utils.Str2Int64(storeSku.VendorMainId)
|
||||
updateParam.MainProductId = utils.Str2Int64(storeSku.VendorMainId)
|
||||
updateParam.SpecPrices = param.SpecPrices
|
||||
updateParam.StoreId = utils.Str2Int64(vendorStoreID)
|
||||
//updateParam.StoreId = utils.Str2Int64(vendorStoreID)
|
||||
if err := api.EditStoreCommodity(updateParam); err != nil {
|
||||
failedList = putils.GetErrMsg2FailedSingleList(storeSkuList, err, storeID, model.VendorChineseNames[model.VendorIDDD], syncType)
|
||||
storeSku.VendorSkuID = utils.Int2Str(storeSku.SkuID)
|
||||
@@ -405,10 +405,10 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
}
|
||||
|
||||
// 修改商品
|
||||
param.ProductId = 1752694442617903
|
||||
param.ProductId = mainIdInt
|
||||
param.MainProductId = mainIdInt
|
||||
param.SpecPrices = GetSpecPrices(param.Specs, vendorStoreID, param.MainProductId, storeSku)
|
||||
param.StoreId = utils.Str2Int64(vendorStoreID)
|
||||
//param.StoreId = utils.Str2Int64(vendorStoreID)
|
||||
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