fix:支付

This commit is contained in:
momo 2023-09-28 10:51:53 +08:00
parent b7a41d39e3
commit 4032255694

View File

@ -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)