1
This commit is contained in:
@@ -92,11 +92,12 @@ func (p *PurchaseHandler) getOrder(vendorOrgCode string, vendorOrderID int64, ve
|
|||||||
}
|
}
|
||||||
|
|
||||||
order.Status = p.getStatusFromVendorStatus(*orderDetail.OrderStatus)
|
order.Status = p.getStatusFromVendorStatus(*orderDetail.OrderStatus)
|
||||||
originalList := strings.Split(*orderDetail.ReceiveInfo.ReceiverPoi, ",")
|
if orderDetail.ReceiveInfo.ReceiverPoi != nil {
|
||||||
order.ConsigneeLng = jxutils.StandardCoordinate2Int(utils.Str2Float64(originalList[0]))
|
originalList := strings.Split(*orderDetail.ReceiveInfo.ReceiverPoi, ",")
|
||||||
order.ConsigneeLat = jxutils.StandardCoordinate2Int(utils.Str2Float64(originalList[1]))
|
order.ConsigneeLng = jxutils.StandardCoordinate2Int(utils.Str2Float64(originalList[0]))
|
||||||
|
order.ConsigneeLat = jxutils.StandardCoordinate2Int(utils.Str2Float64(originalList[1]))
|
||||||
|
}
|
||||||
order.DiscountMoney = *orderDetail.DiscountFee
|
order.DiscountMoney = *orderDetail.DiscountFee
|
||||||
|
|
||||||
order.PmSubsidyMoney = *orderDetail.SkuDiscountPlatformFee // 平台承担优惠
|
order.PmSubsidyMoney = *orderDetail.SkuDiscountPlatformFee // 平台承担优惠
|
||||||
// 添加需要赠送的东西(暂时没有赠品套餐直接商品)
|
// 添加需要赠送的东西(暂时没有赠品套餐直接商品)
|
||||||
multiSkuMap := make(map[int]int)
|
multiSkuMap := make(map[int]int)
|
||||||
@@ -989,5 +990,5 @@ func (c *PurchaseHandler) GetPlatformLogisticsFee(order *model.GoodsOrder) (int6
|
|||||||
|
|
||||||
// ApplyCompensationOrder 订单索赔
|
// ApplyCompensationOrder 订单索赔
|
||||||
func (c *PurchaseHandler) ApplyCompensationOrder(order *model.GoodsOrder) (string, error) {
|
func (c *PurchaseHandler) ApplyCompensationOrder(order *model.GoodsOrder) (string, error) {
|
||||||
return "",nil
|
return "", nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user