mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-13 21:43:44 +08:00
发布代码生成、更新20+表单组件,优化数据字典,gf版本更新到2.3.1
This commit is contained in:
@@ -67,7 +67,7 @@ func GetRoleId(ctx context.Context) int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
return user.Role
|
||||
return user.RoleId
|
||||
}
|
||||
|
||||
// GetRoleKey 获取用户角色唯一编码
|
||||
|
Reference in New Issue
Block a user