1
This commit is contained in:
@@ -283,6 +283,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
childrenProductId, err := api.CreateSubProduct(utils.Str2Int64(localThing[0].VendorThingID), utils.Str2Int64(vendorStoreID))
|
||||
if err != nil || childrenProductId == 0 {
|
||||
failedList = putils.GetErrMsg2FailedSingleList(storeSku, err, storeID, model.VendorChineseNames[model.VendorIDDD], syncType)
|
||||
globals.SugarLogger.Debugf("===failedList1=====:%s", utils.Format4Output(failedList, false))
|
||||
storeSku.SkuSyncStatus = model.SyncFlagStoreSkuModifiedMask
|
||||
storeSku.VendorSonSkuID = utils.Int64ToStr(childrenProductId) // (属性id skuID方案一)(自商品的商品id方案二)
|
||||
storeSku.VendorSkuID = utils.Int64ToStr(childrenProductId) // 子商品主id
|
||||
@@ -295,7 +296,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
storeSku.VendorSonSkuID = utils.Int64ToStr(childrenProductId) // (属性id skuID方案一)(自商品的商品id方案二)
|
||||
storeSku.VendorSkuID = utils.Int64ToStr(childrenProductId) // 子商品主id
|
||||
storeSku.VendorMainId = localThing[0].VendorThingID // 商品主id
|
||||
globals.SugarLogger.Debugf("===failedList=====:%s", utils.Format4Output(failedList, false))
|
||||
globals.SugarLogger.Debugf("===failedList2=====:%s", utils.Format4Output(failedList, false))
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user