京东商城规则修改
This commit is contained in:
@@ -174,7 +174,7 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err
|
||||
buildOrderTo102919(order)
|
||||
continue
|
||||
} else {
|
||||
if order.EarningType == model.EarningTypeQuote && shopPriceSum+700 > int(order.TotalShopMoney) {
|
||||
if order.EarningType == model.EarningTypeQuote && utils.Int2Float64(shopPriceSum+700) > float64(order.TotalShopMoney)*jdshopapi.JdsPayPercentage {
|
||||
buildOrderTo102919(order)
|
||||
continue
|
||||
}
|
||||
@@ -184,7 +184,7 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err
|
||||
buildOrderTo102919(order)
|
||||
continue
|
||||
} else {
|
||||
if order.EarningType == model.EarningTypeQuote && shopPriceSum+700 > int(order.TotalShopMoney) {
|
||||
if order.EarningType == model.EarningTypeQuote && utils.Int2Float64(shopPriceSum+700) > float64(order.TotalShopMoney)*jdshopapi.JdsPayPercentage {
|
||||
buildOrderTo102919(order)
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user