|
|
|
@ -89,15 +89,21 @@ blade:
|
|
|
|
|
- /notice/submit |
|
|
|
|
#安全框架配置 |
|
|
|
|
secure: |
|
|
|
|
#接口放行 |
|
|
|
|
skip-url: |
|
|
|
|
- /test/** |
|
|
|
|
#授权认证配置 |
|
|
|
|
auth: |
|
|
|
|
- method: ALL |
|
|
|
|
pattern: /weixin/** |
|
|
|
|
expression: "hasAuth()" |
|
|
|
|
- method: POST |
|
|
|
|
pattern: /dashboard/upload |
|
|
|
|
expression: "hasTimeAuth(9, 17)" |
|
|
|
|
- method: POST |
|
|
|
|
pattern: /dashboard/submit |
|
|
|
|
expression: "hasAnyRole('administrator', 'admin', 'user')" |
|
|
|
|
#多终端认证配置 |
|
|
|
|
client: |
|
|
|
|
- client-id: sword |
|
|
|
|
path-patterns: |
|
|
|
@ -107,8 +113,12 @@ blade:
|
|
|
|
|
- /saber/** |
|
|
|
|
#多租户配置 |
|
|
|
|
tenant: |
|
|
|
|
#多租户增强 |
|
|
|
|
enhance: true |
|
|
|
|
#多租户授权保护 |
|
|
|
|
license: false |
|
|
|
|
#多租户字段名 |
|
|
|
|
column: tenant_id |
|
|
|
|
#排除多租户逻辑 |
|
|
|
|
exclude-tables: |
|
|
|
|
- blade_user |
|
|
|
|