This commit is contained in:
苏尹岚
2020-06-02 18:04:24 +08:00
parent a9e79763e9
commit f94a17fbb7

View File

@@ -4696,11 +4696,11 @@ func result2Orders(ctx *jxcontext.Context, result *jdshopapi.AllOrdersResult) (o
order.VendorStoreID = storeMaps[0].VendorStoreID order.VendorStoreID = storeMaps[0].VendorStoreID
} }
} else { } else {
storeList, err := GetStoreListByLocation(ctx, jxutils.IntCoordinate2Standard(order.ConsigneeLng), jxutils.IntCoordinate2Standard(order.ConsigneeLat), 5000, false) // storeList, err := GetStoreListByLocation(ctx, jxutils.IntCoordinate2Standard(order.ConsigneeLng), jxutils.IntCoordinate2Standard(order.ConsigneeLat), 5000, false)
if err != nil { // if err != nil {
globals.SugarLogger.Debugf("jds GetStoreListByLocation error: %v", err.Error()) // globals.SugarLogger.Debugf("jds GetStoreListByLocation error: %v", err.Error())
continue // continue
} // }
} }
//如果是暂停,表示是预订单 //如果是暂停,表示是预订单
if jdsOrder.OrderStatus == jdshopapi.JdsOrderStatusPause { if jdsOrder.OrderStatus == jdshopapi.JdsOrderStatusPause {