fix 完善用户操作权限

This commit is contained in:
yxh
2023-04-22 14:54:21 +08:00
parent d29c341034
commit dfb50e4ca2
16 changed files with 1947 additions and 98 deletions

View File

@@ -27,6 +27,7 @@ type SysRoleColumns struct {
DataScope string // 数据范围1全部数据权限 2自定数据权限 3本部门数据权限 4本部门及以下数据权限
CreatedAt string // 创建时间
UpdatedAt string // 更新时间
CreatedBy string // 创建人
}
// sysRoleColumns holds the columns for table sys_role.
@@ -39,6 +40,7 @@ var sysRoleColumns = SysRoleColumns{
DataScope: "data_scope",
CreatedAt: "created_at",
UpdatedAt: "updated_at",
CreatedBy: "created_by",
}
// NewSysRoleDao creates and returns a new DAO object for table data access.