美团饿百打包费改为统一系统参数

This commit is contained in:
gazebo
2019-12-30 18:07:26 +08:00
parent f1d025eb15
commit 3ee2e72a5e
9 changed files with 40 additions and 12 deletions

View File

@@ -28,7 +28,6 @@ const (
specialStoreID = "8171010"
// specialStoreID = "2523687"
fixBoxFee = 10
)
var (
@@ -254,7 +253,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
foodData["min_order_count"] = 1
foodData["unit"] = storeSku.Unit
foodData["box_num"] = 1
foodData["box_price"] = jxutils.IntPrice2Standard(fixBoxFee)
foodData["box_price"] = jxutils.IntPrice2Standard(storeSku.BoxFee)
catCode := tryCatName2Code(storeSku.VendorCatID)
if catCode != "" {
foodData["category_code"] = catCode