增加操作日志查看界面

This commit is contained in:
刘祥超
2020-11-10 20:30:55 +08:00
parent d7fb936003
commit ea10e2e3c1
7 changed files with 129 additions and 19 deletions

View File

@@ -59,3 +59,11 @@ func (this *UserDAO) FindEnabledUser(id uint32) (*User, error) {
}
return result.(*User), err
}
// 获取管理员名称
func (this *UserDAO) FindUserFullname(userId int64) (string, error) {
return this.Query().
Pk(userId).
Result("fullname").
FindStringCol("")
}