fix(security): 将租户列表接口加入安全白名单
This commit is contained in:
@@ -106,9 +106,12 @@ public class SecurityConfig {
|
|||||||
.permitAll()
|
.permitAll()
|
||||||
.requestMatchers("/patientmanage/information/**")
|
.requestMatchers("/patientmanage/information/**")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
// 登录页展示用的系统版本信息,允许匿名访问
|
// 登录页展示用的系统版本信息,允许匿名访问
|
||||||
.requestMatchers("/system/version")
|
.requestMatchers("/system/version")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
|
// 登录页租户列表,允许匿名访问
|
||||||
|
.requestMatchers("/system/tenant/all-active")
|
||||||
|
.permitAll()
|
||||||
// 除上面外的所有请求全部需要鉴权认证
|
// 除上面外的所有请求全部需要鉴权认证
|
||||||
.anyRequest().authenticated();
|
.anyRequest().authenticated();
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user