取消京东商城订单限额

This commit is contained in:
suyl
2021-10-11 09:40:46 +08:00
parent 30004ace1b
commit 0c2c21cab1

View File

@@ -2115,10 +2115,11 @@ func result2Orders(ctx *jxcontext.Context, result *jdshopapi.AllOrdersResult) (o
buildOrderTo102919(order)
globals.SugarLogger.Debugf("resultjdsOrders return 6")
}
if order.ActualPayPrice > 300000 {
buildOrderTo102919(order)
globals.SugarLogger.Debugf("resultjdsOrders return 8")
}
//TODO 2021-10-11 取消限额
//if order.ActualPayPrice > 300000 {
// buildOrderTo102919(order)
// globals.SugarLogger.Debugf("resultjdsOrders return 8")
//}
if store != nil {
distance := jxutils.EarthDistance(jxutils.IntCoordinate2Standard(order.ConsigneeLng), jxutils.IntCoordinate2Standard(order.ConsigneeLat), jxutils.IntCoordinate2Standard(store.Lng), jxutils.IntCoordinate2Standard(store.Lat))
if distance > 4 {