- 新增 DeltaGunCode 实体/Mapper/Service/Controller(分页列表、新增、更新、删除) - WebSecurityConfig 放行 /delta-gun-code/public/**,公开页免登录访问 - 附建表与菜单权限 SQL:sql/delta_gun_code.sql
This commit is contained in:
@@ -76,6 +76,11 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
.authorizeRequests()// 验证码允许匿名访问
|
||||
.antMatchers("/email-sender/sendEmailVerificationCode","/sys-user/register")
|
||||
.anonymous()
|
||||
// 三角洲改枪码:公开复制接口无需登录,后台管理接口需登录
|
||||
.antMatchers("/delta-gun-code/public/**")
|
||||
.permitAll()
|
||||
.antMatchers("/delta-gun-code/**")
|
||||
.authenticated()
|
||||
.and()
|
||||
.formLogin()
|
||||
.loginProcessingUrl("/login")
|
||||
|
||||
Reference in New Issue
Block a user