feat:增加租户切换的能力

(cherry picked from commit a07963335549da0e49f13c98cb79adc11df1524b)
This commit is contained in:
YunaiV
2025-05-14 14:26:52 +08:00
committed by dengqichen
parent 174ceb6041
commit dae1ad9dd5
12 changed files with 185 additions and 6 deletions
@@ -3,3 +3,9 @@ GET {{baseUrl}}/system/user/page?pageNo=1&pageSize=10
Authorization: Bearer {{token}}
#Authorization: Bearer test100
tenant-id: {{adminTenantId}}
### 请求 /system/user/page 接口(测试访问别的租户)
GET {{baseUrl}}/system/user/page?pageNo=1&pageSize=10
Authorization: Bearer {{token}}
tenant-id: {{adminTenantId}}
visit-tenant-id: 122
@@ -130,6 +130,9 @@ yudao:
tenant: # 多租户相关配置项
enable: true
ignore-urls:
ignore-visit-urls:
- /admin-api/system/user/profile/**
- /admin-api/system/auth/**
ignore-tables:
ignore-caches:
- user_role_ids