bug修复

This commit is contained in:
guo 2024-03-27 18:24:36 +08:00
parent e0feef8ebe
commit 00e625b0e3
2 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,9 @@ public class SystemUser implements Serializable {
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date pwUpdateTime;
@ApiModelProperty(value = "新用户和供应商的总公司sn")
private String headquartersSn;
@TableField(exist = false)
@ApiModelProperty(value = "角色ID")
private java.lang.Long roleId;

View File

@ -341,6 +341,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/xmgl/frontierProtectionNoNetData/page").permitAll()
.antMatchers("/xmgl/frontierProtectionNoNetDev/countFrontierProtectionNoNetDev").permitAll()
.antMatchers("/xmgl/frontierProtectionNoNetData/getTrendData").permitAll()
.antMatchers("/xmgl/frontierProtectionNoNetDev/page").permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
.anyRequest().authenticated() // 剩下所有的验证都需要验证.
.and()