aa
This commit is contained in:
@@ -2115,6 +2115,10 @@ 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 {
|
||||||
|
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