mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-13 04:33:44 +08:00
更新2.1.1版本,优化代码提示
This commit is contained in:
@@ -57,6 +57,7 @@ func HandlerFilterAuth(m *gdb.Model) *gdb.Model {
|
||||
panic(fmt.Sprintf("HandlerFilterAuth Failed to role information err2:%+v", err))
|
||||
}
|
||||
|
||||
// TODO 当前不是完整功能,预计在下个版本中完善
|
||||
switch roleModel.DataScope {
|
||||
case consts.RoleDataAll: // 全部权限
|
||||
// ...
|
||||
|
||||
Reference in New Issue
Block a user