修改刷卡记录、充值记录、充值、灌溉记录、用户充值卡信息的权限;取消充值时对用户卡是否存在的验证
This commit is contained in:
@ -138,6 +138,12 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
.antMatchers("/pay/getresult").permitAll()
|
||||
// 除上面外的所有请求全部需要鉴权认证
|
||||
.antMatchers("/device/operation/**").permitAll()
|
||||
.antMatchers("/rechargecard/cards/**").permitAll()
|
||||
.antMatchers("/rechargecard/records/**").permitAll()
|
||||
.antMatchers("/iot/swipe/records/**").permitAll()
|
||||
.antMatchers("/rechargecard/record/**").permitAll()
|
||||
.antMatchers("/rechargecard/user/**").permitAll()
|
||||
.antMatchers("/pay/**").permitAll()
|
||||
.anyRequest().authenticated()
|
||||
|
||||
// // oauth
|
||||
|
Reference in New Issue
Block a user