fix:支付
This commit is contained in:
parent
b7a41d39e3
commit
4032255694
|
@ -987,7 +987,11 @@ func (d *defaultOrder) Create(ctx context.Context, in *CreateReq) (res *CreateRe
|
|||
var statusLink = order.GenerateOrderStatusLink(in.DeliveryMethod, nowTime, in.ExpectedDeliveryTime)
|
||||
|
||||
byteOrderProduct, _ := json.Marshal(orderProductList)
|
||||
byteOrderAddress, _ := json.Marshal(orderAddress)
|
||||
var byteOrderAddress []byte
|
||||
if orderAddress != nil {
|
||||
byteOrderAddress, _ = json.Marshal(orderAddress)
|
||||
}
|
||||
|
||||
byteOrderAmount, _ := json.Marshal(orderAmount)
|
||||
byteShoppingCartSnapshot, _ := json.Marshal(shoppingCartSnapshotList)
|
||||
byteShoppingProductSnapshot, _ := json.Marshal(shoppingProductSnapshotList)
|
||||
|
|
Loading…
Reference in New Issue
Block a user