[feat] 数据权限过滤支持
This commit is contained in:
parent
467d2f5d5b
commit
ac3759b8e1
@ -37,6 +37,7 @@ type DataList struct {
|
||||
ApprovalConfig res_type.ResFieldByAnys `db:"approvalConfig"` // 审批设置
|
||||
UniqueImportFields res_type.ResFieldByAnys `db:"uniqueImportFields"` // 导入字段唯一效验
|
||||
Roles res_type.ResFieldByAnys `db:"roles"` // 列表权限
|
||||
IsAuthDB int `db:"is_auth_db"` // 启用权限过滤
|
||||
UpdatedAt string `db:"updated_at"`
|
||||
CreatedAt string `db:"created_at"`
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ type ResApi struct {
|
||||
Category string `db:"action"`
|
||||
Params res_type.ResFieldByAnys `db:"params"`
|
||||
Roles res_type.ResFieldByAnys `db:"roles"`
|
||||
IsAuthDB int `db:"is_auth_db"` // 启用权限过滤
|
||||
UpdatedAt string `db:"updated_at"`
|
||||
CreatedAt string `db:"created_at"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user