mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-12 21:50:25 +08:00
获取管理员模块的时候同时返回管理员全名
This commit is contained in:
@@ -225,7 +225,7 @@ func (this *AdminDAO) FindAllAdminModules(tx *dbs.Tx) (result []*Admin, err erro
|
|||||||
_, err = this.Query(tx).
|
_, err = this.Query(tx).
|
||||||
State(AdminStateEnabled).
|
State(AdminStateEnabled).
|
||||||
Attr("isOn", true).
|
Attr("isOn", true).
|
||||||
Result("id", "modules", "isSuper").
|
Result("id", "modules", "isSuper", "fullname").
|
||||||
Slice(&result).
|
Slice(&result).
|
||||||
FindAll()
|
FindAll()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user