1
This commit is contained in:
@@ -200,9 +200,15 @@ func (p *PurchaseHandler) getOrder(vendorOrgCode string, vendorOrderID int64, ve
|
||||
order.PickDeadline = order.ExpectedDeliveredTime.Add(-1 * time.Hour)
|
||||
|
||||
// 用户信息
|
||||
order.ConsigneeName = *orderDetail.ReceiveInfo.ReceiverName
|
||||
order.ConsigneeMobile = *orderDetail.ReceiveInfo.ReceiverPhone
|
||||
order.ConsigneeAddress = *orderDetail.ReceiveInfo.ReceiverAddress
|
||||
if orderDetail.ReceiveInfo.ReceiverName != nil {
|
||||
order.ConsigneeName = *orderDetail.ReceiveInfo.ReceiverName
|
||||
}
|
||||
if orderDetail.ReceiveInfo.ReceiverPhone != nil {
|
||||
order.ConsigneeMobile = *orderDetail.ReceiveInfo.ReceiverPhone
|
||||
}
|
||||
if orderDetail.ReceiveInfo.ReceiverAddress != nil {
|
||||
order.ConsigneeAddress = *orderDetail.ReceiveInfo.ReceiverAddress
|
||||
}
|
||||
for _, v := range order.Skus {
|
||||
if multiSkuMap[v.SkuID] > 1 && v.SalePrice == v.VendorPrice {
|
||||
v.IsVendorAct = model.YES
|
||||
|
||||
Reference in New Issue
Block a user