fix:购物车下单

This commit is contained in:
momo
2023-09-20 15:37:22 +08:00
parent 359e67e281
commit e8958599ac
2 changed files with 2 additions and 2 deletions

View File

@@ -280,7 +280,7 @@ func (d *defaultOrder) Create(ctx context.Context, in *CreateReq) (res *CreateRe
OriginalCurrency: in.OriginalCurrency,
}),
ProductSnapshot: productSnapshot,
ShoppingCartSnapshot: shoppingCart.FsShoppingCart,
ShoppingCartSnapshot: &shoppingCart.FsShoppingCart,
ProductSn: *shoppingCart.ShoppingCartProduct.Sn,
DiyInformation: shoppingCartSnapshot.UserDiyInformation,
FittingInfo: shoppingCartSnapshot.FittingInfo,