初步完成高防相关管理对象

This commit is contained in:
刘祥超
2023-02-22 17:34:05 +08:00
parent 5e7fe30984
commit c0ef64e935
31 changed files with 580 additions and 7 deletions

View File

@@ -134,7 +134,7 @@ func (this *UserDAO) FindEnabledBasicUser(tx *dbs.Tx, id int64) (*User, error) {
result, err := this.Query(tx).
Pk(id).
Attr("state", UserStateEnabled).
Result("id", "fullname", "username").
Result("id", "fullname", "username", "isOn").
Find()
if result == nil {
return nil, err