mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-20 13:00:24 +08:00
初步完成高防相关管理对象
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user