1
This commit is contained in:
@@ -363,7 +363,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
foodData["sell_point"] = storeSku.SellPoint
|
foodData["sell_point"] = storeSku.SellPoint
|
||||||
}
|
}
|
||||||
if storeSku.SellPointTimes != "" {
|
if storeSku.SellPointTimes != "" {
|
||||||
foodData["sell_point_times"] = storeSku.SellPointTimes
|
foodData["sell_point_available_times"] = storeSku.SellPointTimes
|
||||||
}
|
}
|
||||||
catCode := tryCatName2Code(storeSku.VendorCatID)
|
catCode := tryCatName2Code(storeSku.VendorCatID)
|
||||||
if catCode != "" {
|
if catCode != "" {
|
||||||
@@ -445,10 +445,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if storeID == 800369 {
|
|
||||||
globals.SugarLogger.Debugf("------foodDataList---%s", utils.Format4Output(foodDataList, false))
|
|
||||||
globals.SugarLogger.Debugf("------storeSkuList---%s", utils.Format4Output(storeSkuList, false))
|
|
||||||
}
|
|
||||||
if globals.EnableMtwmStoreWrite {
|
if globals.EnableMtwmStoreWrite {
|
||||||
if len(foodDataList) == 1 {
|
if len(foodDataList) == 1 {
|
||||||
foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))
|
foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))
|
||||||
|
|||||||
Reference in New Issue
Block a user