change - 访问权限

master
yinq 10 months ago
parent 873dc4c09f
commit 00bd8e95e7

@ -49,7 +49,7 @@ token:
# 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期默认30分钟
expireTime: 720
expireTime: 1440
# MyBatis配置
mybatis:

@ -124,6 +124,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.antMatchers(HttpMethod.GET, "/system/dict/data/type/**").permitAll()
.antMatchers(HttpMethod.GET, "/report/pdaRecord/getPdaRecord").permitAll()
.antMatchers(HttpMethod.GET, "/report/repairMeasures/getRepairMeasures").permitAll()
.antMatchers(HttpMethod.GET, "/base/teamMembers/**").permitAll()
.antMatchers(HttpMethod.POST, "/**/**/**").permitAll()
.antMatchers(HttpMethod.GET, "/**/**/**").permitAll()
// 除上面外的所有请求全部需要鉴权认证

Loading…
Cancel
Save