generated from PenaSide/GolangTemplate
Update api.2.go
This commit is contained in:
parent
fb787742ec
commit
da713efdd6
@ -346,7 +346,7 @@ func (api *API2) PayCart(ctx echo.Context) error {
|
|||||||
UserInformation: &discount.UserInformation{
|
UserInformation: &discount.UserInformation{
|
||||||
ID: account.UserID,
|
ID: account.UserID,
|
||||||
Type: string(account.Status),
|
Type: string(account.Status),
|
||||||
PurchasesAmount: uint64(account.Wallet.PurchasesAmount),
|
PurchasesAmount: uint64(account.Wallet.Spent),
|
||||||
CartPurchasesAmount: tariffsAmount,
|
CartPurchasesAmount: tariffsAmount,
|
||||||
},
|
},
|
||||||
Products: transfer.TariffsToProductInformations(tariffs),
|
Products: transfer.TariffsToProductInformations(tariffs),
|
||||||
|
Loading…
Reference in New Issue
Block a user