[feat] 数据权限过滤支持

This commit is contained in:
2023-04-23 11:09:41 +08:00
parent 467d2f5d5b
commit ac3759b8e1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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"`
}