新增美团新规则包装费

This commit is contained in:
苏尹岚
2020-08-19 10:32:11 +08:00
parent 1611bde439
commit 180d2a9d87
2 changed files with 4 additions and 2 deletions

View File

@@ -267,8 +267,8 @@ 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(storeSku.BoxFee)
foodData["ladder_box_num"] = storeSku.LadderBoxNum
foodData["ladder_box_price"] = jxutils.IntPrice2Standard(int64(storeSku.LadderBoxPrice))
attr := switchAttr(storeSku.VendorVendorCatID)
if attr != "" {
foodData["common_attr_value"] = attr