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