修改代码

This commit is contained in:
lyb
2018-08-10 17:36:09 +08:00
parent aac9881f6a
commit 1a647ea5f2
3 changed files with 5 additions and 5 deletions

View File

@@ -203,7 +203,7 @@ func setOrederDetailFee(result map[string]interface{}, order *model.GoodsOrder)
categoryId := utils.MustInterface2Int64(activity["categoryId"])
restaurantPart := -jxutils.StandardPrice2Int(utils.MustInterface2Float64(activity["restaurantPart"]))
elemePart := -jxutils.StandardPrice2Int(utils.MustInterface2Float64(activity["elemePart"]))
if _, isHave := model.ElmSkuPromotion[int(categoryId)]; isHave {
if _, ok := model.ElmSkuPromotion[int(categoryId)]; ok {
order.SkuPmFee += restaurantPart
order.SkuPmSubsidy += elemePart
} else {