修改刷卡记录、充值记录、充值、灌溉记录、用户充值卡信息的权限;取消充值时对用户卡是否存在的验证

This commit is contained in:
2025-01-06 11:05:35 +08:00
parent 77216fb4c1
commit 92f5863df3
5 changed files with 13 additions and 7 deletions

View File

@ -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