Add app's TermsOfUse.

This commit is contained in:
Yang Luo
2021-08-03 21:00:07 +08:00
parent 9f5c6b1e05
commit acca9eacdc
3 changed files with 48 additions and 2 deletions

View File

@ -43,6 +43,7 @@ type Application struct {
SigninUrl string `xorm:"varchar(100)" json:"signinUrl"`
ForgetUrl string `xorm:"varchar(100)" json:"forgetUrl"`
AffiliationUrl string `xorm:"varchar(100)" json:"affiliationUrl"`
TermsOfUse string `xorm:"varchar(1000)" json:"termsOfUse"`
}
func GetApplications(owner string) []*Application {