Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
ab834892
提交
ab834892
authored
9月 02, 2021
作者:
zhoushaopan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(版本模块,security模块): [security]模块新增了释放路径以及修改session[版本模块]新增了version字段
[security]模块新增了释放路径以及修改session[版本模块]新增了version字段
上级
0bd7b020
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
14 行删除
+13
-14
application-test.properties
dev-union/src/main/resources/application-test.properties
+10
-8
SecurityConfig.java
.../java/com/tykj/dev/device/user/config/SecurityConfig.java
+2
-1
PackageVersion.java
...java/com/tykj/dev/device/zxing/entity/PackageVersion.java
+1
-5
没有找到文件。
dev-union/src/main/resources/application-test.properties
浏览文件 @
ab834892
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
dev-user/src/main/java/com/tykj/dev/device/user/config/SecurityConfig.java
浏览文件 @
ab834892
...
@@ -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
/user
Logout"
)
.
logoutSuccessHandler
(
myLogoutHandler
)
.
logoutSuccessHandler
(
myLogoutHandler
)
.
deleteCookies
(
"JESSIONID"
)
.
deleteCookies
(
"JESSIONID"
)
.
and
()
.
and
()
...
...
dev-zxing/src/main/java/com/tykj/dev/device/zxing/entity/PackageVersion.java
浏览文件 @
ab834892
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论