From e3a7d8c112293561f4eed15bcdfd2ee0753ad0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 21 Nov 2024 14:58:45 +0800 Subject: [PATCH] 1 --- business/partner/purchase/mtwm/store_sku2.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/business/partner/purchase/mtwm/store_sku2.go b/business/partner/purchase/mtwm/store_sku2.go index 9246ec882..dcf9a32e3 100644 --- a/business/partner/purchase/mtwm/store_sku2.go +++ b/business/partner/purchase/mtwm/store_sku2.go @@ -363,7 +363,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI foodData["sell_point"] = storeSku.SellPoint } if storeSku.SellPointTimes != "" { - foodData["sell_point_times"] = storeSku.SellPointTimes + foodData["sell_point_available_times"] = storeSku.SellPointTimes } catCode := tryCatName2Code(storeSku.VendorCatID) 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 len(foodDataList) == 1 { foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))