Add GetUserPayments() API.

This commit is contained in:
Yang Luo
2022-03-13 11:51:33 +08:00
parent 4d035bf66d
commit 32af4a766e
5 changed files with 45 additions and 9 deletions

View File

@ -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",
}