- move some funcs from controller to jxutils.
This commit is contained in:
@@ -151,8 +151,8 @@ func (c *OrderController) legacyWriteJxOrder(order *model.GoodsOrder, db orm.Orm
|
||||
BuyerFullAddress: order.ConsigneeAddress,
|
||||
BuyerMobile: order.ConsigneeMobile,
|
||||
BuyerCoordType: legacyMapCoordinateType(order.CoordinateType),
|
||||
BuyerLng: IntCoordinate2Standard(order.ConsigneeLng),
|
||||
BuyerLat: IntCoordinate2Standard(order.ConsigneeLat),
|
||||
BuyerLng: jxutils.IntCoordinate2Standard(order.ConsigneeLng),
|
||||
BuyerLat: jxutils.IntCoordinate2Standard(order.ConsigneeLat),
|
||||
CityName: "all",
|
||||
OrderStartTime: utils.Time2Str(order.OrderCreatedAt),
|
||||
JdStoreId: order.VendorStoreID,
|
||||
|
||||
Reference in New Issue
Block a user