1
This commit is contained in:
@@ -121,8 +121,8 @@ func (c *DeliveryHandler) CreateWaybill(order *model.GoodsOrder, maxDeliveryFee
|
||||
OrderType: 1,
|
||||
PositionSource: 3,
|
||||
ReceiverAddress: order.ConsigneeAddress,
|
||||
ReceiverLongitude: utils.Int2Float64(order.ConsigneeLng) / 1000000,
|
||||
ReceiverLatitude: utils.Int2Float64(order.ConsigneeLat) / 1000000,
|
||||
ReceiverLongitude: jxutils.IntCoordinate2Standard(order.ConsigneeLng),
|
||||
ReceiverLatitude: jxutils.IntCoordinate2Standard(order.ConsigneeLat),
|
||||
GoodsTotalAmountCent: order.SalePrice,
|
||||
GoodsActualAmountCent: order.ActualPayPrice,
|
||||
GoodsWeight: utils.Int2Float64(order.Weight) / 1000,
|
||||
@@ -198,8 +198,8 @@ func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInf
|
||||
OrderType: 1,
|
||||
PositionSource: 3,
|
||||
ReceiverAddress: order.ConsigneeAddress,
|
||||
ReceiverLongitude: utils.Int2Float64(order.ConsigneeLng) / 1000000,
|
||||
ReceiverLatitude: utils.Int2Float64(order.ConsigneeLat) / 1000000,
|
||||
ReceiverLongitude: jxutils.IntCoordinate2Standard(order.ConsigneeLng),
|
||||
ReceiverLatitude: jxutils.IntCoordinate2Standard(order.ConsigneeLat),
|
||||
GoodsTotalAmountCent: order.SalePrice,
|
||||
GoodsActualAmountCent: order.ActualPayPrice,
|
||||
GoodsWeight: utils.Int2Float64(order.Weight) / 1000,
|
||||
|
||||
Reference in New Issue
Block a user