mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 11:20:18 +08:00
Add GetUserPayments() API.
This commit is contained in:
@ -197,8 +197,10 @@ func BuyProduct(id string, providerId string, user *User, host string) (string,
|
||||
User: user.Name,
|
||||
ProductId: productId,
|
||||
ProductName: productName,
|
||||
Price: product.Price,
|
||||
Detail: product.Detail,
|
||||
Tag: product.Tag,
|
||||
Currency: product.Currency,
|
||||
Price: product.Price,
|
||||
PayUrl: payUrl,
|
||||
State: "Created",
|
||||
}
|
||||
|
Reference in New Issue
Block a user