提交 ab834892 authored 作者: zhoushaopan's avatar zhoushaopan

fix(版本模块,security模块): [security]模块新增了释放路径以及修改session[版本模块]新增了version字段

[security]模块新增了释放路径以及修改session[版本模块]新增了version字段
上级 0bd7b020
spring.jpa.hibernate.ddl-auto=update spring.datasource.driver-class-name=com.oscar.Driver
spring.datasource.url=jdbc:mysql://124.70.145.101:3306/device?serverTimezone=Asia/Shanghai&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false #spring.datasource.url=jdbc:oscar://10.153.4.10:2003/OSRDB
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:oscar://192.168.0.80:2003/OSRDB
spring.datasource.username=device spring.datasource.username=SYSDBA
spring.datasource.password=Qwer1234 spring.datasource.password=szoscar55
file.path=C:/Users/dengdiyi/Documents/file/ spring.jpa.database-platform=org.hibernate.dialect.OscarDialect
preview.path=http://124.70.145.101:8087/equip/file/ file.path=/opt/zb/
\ No newline at end of file #preview.path=http://10.153.4.11:8088/equip/file/
preview.path=http://192.168.0.80:8088/equip/file/
\ No newline at end of file
...@@ -107,6 +107,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -107,6 +107,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.and() .and()
.authorizeRequests() .authorizeRequests()
.antMatchers("/file/llq/**").permitAll() .antMatchers("/file/llq/**").permitAll()
.antMatchers("/packageVersion/getVersion","/equip/packageVersion/getVersion").permitAll()//
.antMatchers("/equip/file/llq/**").permitAll() .antMatchers("/equip/file/llq/**").permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").permitAll() .antMatchers(HttpMethod.OPTIONS, "/**").permitAll()
// .withObjectPostProcessor(new ObjectPostProcessor<FilterSecurityInterceptor>() { // .withObjectPostProcessor(new ObjectPostProcessor<FilterSecurityInterceptor>() {
...@@ -124,7 +125,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -124,7 +125,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.permitAll() .permitAll()
.and() .and()
.logout() .logout()
.logoutUrl("/userLogout") .logoutUrl("/user/userLogout")
.logoutSuccessHandler(myLogoutHandler) .logoutSuccessHandler(myLogoutHandler)
.deleteCookies("JESSIONID") .deleteCookies("JESSIONID")
.and() .and()
......
...@@ -23,10 +23,6 @@ public class PackageVersion { ...@@ -23,10 +23,6 @@ public class PackageVersion {
@ApiModelProperty("id主键") @ApiModelProperty("id主键")
private Integer id; private Integer id;
@ApiModelProperty("上一次版本号")
private String oldVersion;
@ApiModelProperty("当前版本号") @ApiModelProperty("当前版本号")
private String nowVersion; private String version;
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论