fix:算法请求调整
This commit is contained in:
@@ -1197,8 +1197,8 @@ func (d *defaultOrder) Create(ctx context.Context, in *CreateReq) (res *CreateRe
|
||||
IsHighlyCustomized: *shoppingCart.IsHighlyCustomized,
|
||||
RenderImage: shoppingCartSnapshot.RenderImage,
|
||||
CartId: shoppingCart.Id,
|
||||
ExpectedDeliveryTime: expectedDeliveryTime,
|
||||
ActualDeliveryTime: actualDeliveryTime,
|
||||
ExpectedDeliveryTime: &expectedDeliveryTime,
|
||||
ActualDeliveryTime: &actualDeliveryTime,
|
||||
}
|
||||
orderProductList = append(orderProductList, &productInter)
|
||||
shoppingProductSnapshotList = append(shoppingProductSnapshotList, shoppingCart.ShoppingCartProduct)
|
||||
@@ -1278,8 +1278,8 @@ func (d *defaultOrder) Create(ctx context.Context, in *CreateReq) (res *CreateRe
|
||||
byteShoppingProductSnapshot, _ := json.Marshal(shoppingProductSnapshotList)
|
||||
byteStatusLink, _ := json.Marshal(statusLink)
|
||||
byteOrderMetadata, _ := json.Marshal(gmodel.OrderMetadata{
|
||||
ExpectedDeliveryTime: expectedDeliveryTime,
|
||||
ActualDeliveryTime: actualDeliveryTime,
|
||||
ExpectedDeliveryTime: &expectedDeliveryTime,
|
||||
ActualDeliveryTime: &actualDeliveryTime,
|
||||
})
|
||||
|
||||
// 创建订单
|
||||
|
||||
Reference in New Issue
Block a user