- 将OrderSku中没有用的StoreSubName暂时当成VendorActType来使用
- 美团外卖订单使用sku_benefit_detail来更准确的判断单品活动
This commit is contained in:
@@ -163,6 +163,7 @@ func (c *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
|
||||
VendorPrice: utils.MustInterface2Int64(product["skuStorePrice"]),
|
||||
SalePrice: utils.MustInterface2Int64(product["skuJdPrice"]),
|
||||
PromotionType: int(utils.MustInterface2Int64(product["promotionType"])),
|
||||
StoreSubName: utils.Int64ToStr(utils.MustInterface2Int64(product["promotionType"])),
|
||||
}
|
||||
if skuCostumeProperty, ok := product["skuCostumeProperty"]; ok {
|
||||
sku.SkuName += skuCostumeProperty.(string)
|
||||
|
||||
Reference in New Issue
Block a user