取消京东商城订单限额
This commit is contained in:
@@ -2115,10 +2115,11 @@ func result2Orders(ctx *jxcontext.Context, result *jdshopapi.AllOrdersResult) (o
|
|||||||
buildOrderTo102919(order)
|
buildOrderTo102919(order)
|
||||||
globals.SugarLogger.Debugf("resultjdsOrders return 6")
|
globals.SugarLogger.Debugf("resultjdsOrders return 6")
|
||||||
}
|
}
|
||||||
if order.ActualPayPrice > 300000 {
|
//TODO 2021-10-11 取消限额
|
||||||
buildOrderTo102919(order)
|
//if order.ActualPayPrice > 300000 {
|
||||||
globals.SugarLogger.Debugf("resultjdsOrders return 8")
|
// buildOrderTo102919(order)
|
||||||
}
|
// globals.SugarLogger.Debugf("resultjdsOrders return 8")
|
||||||
|
//}
|
||||||
if store != nil {
|
if store != nil {
|
||||||
distance := jxutils.EarthDistance(jxutils.IntCoordinate2Standard(order.ConsigneeLng), jxutils.IntCoordinate2Standard(order.ConsigneeLat), jxutils.IntCoordinate2Standard(store.Lng), jxutils.IntCoordinate2Standard(store.Lat))
|
distance := jxutils.EarthDistance(jxutils.IntCoordinate2Standard(order.ConsigneeLng), jxutils.IntCoordinate2Standard(order.ConsigneeLat), jxutils.IntCoordinate2Standard(store.Lng), jxutils.IntCoordinate2Standard(store.Lat))
|
||||||
if distance > 4 {
|
if distance > 4 {
|
||||||
|
|||||||
Reference in New Issue
Block a user