fix:购物车下单

This commit is contained in:
momo
2023-09-20 15:39:23 +08:00
parent e8958599ac
commit d59142e017
2 changed files with 6 additions and 6 deletions

View File

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