fix:订单优化
This commit is contained in:
parent
5efe255a77
commit
c8e63f4a57
|
@ -1770,7 +1770,7 @@ func (d *defaultOrder) OrderDetailHandler(ctx context.Context, orderInfo *gmodel
|
||||||
Metadata: orderMetadata,
|
Metadata: orderMetadata,
|
||||||
}
|
}
|
||||||
// 购物车对应商品
|
// 购物车对应商品
|
||||||
var shoppingCartSnapshotDataMap = make(map[int64]gmodel.FsShoppingCartData)
|
var shoppingCartSnapshotDataMap = make(map[int64]gmodel.FsShoppingCartData, len(shoppingCartSnapshot))
|
||||||
for _, shoppingCartSnapshotValue := range shoppingCartSnapshot {
|
for _, shoppingCartSnapshotValue := range shoppingCartSnapshot {
|
||||||
var shoppingCartSnapshotData gmodel.FsShoppingCartData
|
var shoppingCartSnapshotData gmodel.FsShoppingCartData
|
||||||
snapshot, err := d.OrderShoppingCartSnapshotHandler(ctx, shoppingCartSnapshotValue.Snapshot)
|
snapshot, err := d.OrderShoppingCartSnapshotHandler(ctx, shoppingCartSnapshotValue.Snapshot)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user