- 京东订单单品无优惠时,优惠信息保持为空

This commit is contained in:
gazebo
2019-06-14 11:16:29 +08:00
parent cf8fa813f8
commit 47189b82d2
2 changed files with 3 additions and 3 deletions

View File

@@ -198,7 +198,6 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
if /*skuActTypeMap[v.Type] == 1 && */ strings.Index(v.Remark, skuName) >= 0 && sku.Count == v.Count {
ignoreSkuMap[sku.SkuID] = 1
sku.SalePrice -= jxutils.StandardPrice2Int(v.MtCharge + v.PoiCharge)
sku.PromotionType = v.Type
sku.StoreSubName = utils.Int2Str(v.Type)
}
}