Add returnUrl to product.

This commit is contained in:
Yang Luo
2022-03-13 16:25:54 +08:00
parent 32af4a766e
commit ca87dd7dea
5 changed files with 21 additions and 2 deletions

View File

@ -41,8 +41,9 @@ type Payment struct {
Currency string `xorm:"varchar(100)" json:"currency"`
Price float64 `json:"price"`
PayUrl string `xorm:"varchar(2000)" json:"payUrl"`
State string `xorm:"varchar(100)" json:"state"`
PayUrl string `xorm:"varchar(2000)" json:"payUrl"`
ReturnUrl string `xorm:"varchar(1000)" json:"returnUrl"`
State string `xorm:"varchar(100)" json:"state"`
}
func GetPaymentCount(owner, field, value string) int {