@@ -84,6 +84,7 @@ public class WebSecurityConfig { | |||
.pathMatchers("/oidc/admin/tenant/**", "/oidc/admin/client/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_OIDC_ADMIN) | |||
.pathMatchers("/waterway/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_WATERWAY_ADMIN) | |||
.pathMatchers("/waterway/miniprogram/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_WATERWAY_MP) | |||
.pathMatchers("/telecomumale/miniprogram/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_TELECOMUMALE_MP) | |||
.pathMatchers("/telecomumale/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_TELECOMUMALE_ADMIN) | |||
.pathMatchers("/weptsp/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_WEPTSP_ADMIN) | |||
.pathMatchers("/airmonitor/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_AIRMONITOR_ADMIN) |
@@ -63,5 +63,5 @@ public class AuthorityConstant { | |||
* Telecomumale 用户权限 | |||
*/ | |||
public static final String SCOPE_TUOHNEG_TELECOMUMALE_ADMIN = "SCOPE_tuoheng-telecomumale-admin"; | |||
//public static final String SCOPE_TUOHNEG_AIRPORT_MP= "SCOPE_tuoheng-weptsp-mp"; | |||
public static final String SCOPE_TUOHNEG_TELECOMUMALE_MP= "SCOPE_tuoheng-telecomumale-mp"; | |||
} |
@@ -238,6 +238,13 @@ spring: | |||
- Path=/telecomumale/admin/** | |||
filters: | |||
- StripPrefix=2 | |||
# 电信城管mp服务 | |||
- id: tuoheng-telecomumale-miniprogram | |||
uri: lb://tuoheng-telecomumale-miniprogram | |||
predicates: | |||
- Path=/telecomumale/miniprogram/** | |||
filters: | |||
- StripPrefix=2 | |||
# Redis数据源 | |||
redis: | |||
# 缓存库默认索引0 |
@@ -216,6 +216,13 @@ spring: | |||
- Path=/telecomumale/admin/** | |||
filters: | |||
- StripPrefix=2 | |||
# 电信城管mp服务 | |||
- id: tuoheng-telecomumale-miniprogram | |||
uri: lb://tuoheng-telecomumale-miniprogram | |||
predicates: | |||
- Path=/telecomumale/miniprogram/** | |||
filters: | |||
- StripPrefix=2 | |||
# Redis数据源 | |||
redis: | |||
# 缓存库默认索引0 |
@@ -231,6 +231,13 @@ spring: | |||
- Path=/telecomumale/admin/** | |||
filters: | |||
- StripPrefix=2 | |||
# 电信城管mp服务 | |||
- id: tuoheng-telecomumale-miniprogram | |||
uri: lb://tuoheng-telecomumale-miniprogram | |||
predicates: | |||
- Path=/telecomumale/miniprogram/** | |||
filters: | |||
- StripPrefix=2 | |||
# Redis数据源 | |||
redis: | |||
# 缓存库默认索引0 |