新订单消息修改
This commit is contained in:
@@ -181,7 +181,11 @@ func getOrderDetailBrief(order *model.GoodsOrder) (brief string) {
|
||||
if beego.BConfig.RunMode == "jxgy" {
|
||||
price = order.EarningPrice
|
||||
} else {
|
||||
price = order.ShopPrice
|
||||
if order.EarningType == model.EarningTypePoints {
|
||||
price = order.ActualPayPrice
|
||||
} else {
|
||||
price = order.ShopPrice
|
||||
}
|
||||
}
|
||||
sb.WriteString(jxutils.IntPrice2StandardString(price))
|
||||
sb.WriteString("元")
|
||||
|
||||
Reference in New Issue
Block a user