fix:购物车下单
This commit is contained in:
@@ -280,24 +280,12 @@ 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: &gmodel.DiyInformation{
|
||||
Address: shoppingCartSnapshot.UserDiyInformation.Address,
|
||||
Phone: shoppingCartSnapshot.UserDiyInformation.Phone,
|
||||
Qrcode: shoppingCartSnapshot.UserDiyInformation.Qrcode,
|
||||
Slogan: shoppingCartSnapshot.UserDiyInformation.Slogan,
|
||||
Website: shoppingCartSnapshot.UserDiyInformation.Website,
|
||||
},
|
||||
FittingInfo: &gmodel.FittingInfo{
|
||||
FittingID: *shoppingCart.FittingId,
|
||||
FittingName: shoppingCartSnapshot.FittingInfo.FittingName,
|
||||
},
|
||||
SizeInfo: &gmodel.SizeInfo{
|
||||
SizeID: *shoppingCart.SizeId,
|
||||
Capacity: shoppingCartSnapshot.SizeInfo.Capacity,
|
||||
},
|
||||
StepNum: stepNum,
|
||||
DiyInformation: shoppingCartSnapshot.UserDiyInformation,
|
||||
FittingInfo: shoppingCartSnapshot.FittingInfo,
|
||||
SizeInfo: shoppingCartSnapshot.SizeInfo,
|
||||
StepNum: stepNum,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user