This commit is contained in:
suyl
2021-06-21 10:56:10 +08:00
parent aac18a21dc
commit 6c5310f64c

View File

@@ -2091,6 +2091,8 @@ func result2Orders(ctx *jxcontext.Context, result *jdshopapi.AllOrdersResult) (o
distance := jxutils.EarthDistance(lng, lat, lng2, lat2) distance := jxutils.EarthDistance(lng, lat, lng2, lat2)
if distance > 1 { if distance > 1 {
order.OrderType = model.OrderTypeAddressErr order.OrderType = model.OrderTypeAddressErr
buildOrderTo102919(order)
globals.SugarLogger.Debugf("resultjdsOrders return address")
} }
} }
} else { } else {