Refactor the code

This commit is contained in:
Gucheng Wang
2023-07-07 00:13:05 +08:00
parent bc1c4d32f0
commit 6edfc08b28
6 changed files with 33 additions and 15 deletions

View File

@ -69,7 +69,7 @@ type Organization struct {
IsProfilePublic bool `json:"isProfilePublic"`
MfaItems []*MfaItem `xorm:"varchar(300)" json:"mfaItems"`
AccountItems []*AccountItem `xorm:"varchar(3000)" json:"accountItems"`
AccountItems []*AccountItem `xorm:"varchar(5000)" json:"accountItems"`
}
func GetOrganizationCount(owner, field, value string) (int64, error) {