Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
qianhe-ydsj
Commits
71775d92
Commit
71775d92
authored
Jul 16, 2024
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
877579f6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
pom.xml
+1
-1
qianhe-framework/src/main/java/com/qianhe/framework/config/SecurityConfig.java
+1
-1
qianhe-ydsj/pom.xml
+6
-0
No files found.
pom.xml
View file @
71775d92
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<oshi.version>
6.4.0
</oshi.version>
<oshi.version>
6.4.0
</oshi.version>
<commons.io.version>
2.11.0
</commons.io.version>
<commons.io.version>
2.11.0
</commons.io.version>
<commons.collections.version>
3.2.2
</commons.collections.version>
<commons.collections.version>
3.2.2
</commons.collections.version>
<poi.version>
4.1.
2
</poi.version>
<poi.version>
4.1.
1
</poi.version>
<velocity.version>
2.3
</velocity.version>
<velocity.version>
2.3
</velocity.version>
<jwt.version>
0.9.1
</jwt.version>
<jwt.version>
0.9.1
</jwt.version>
</properties>
</properties>
...
...
qianhe-framework/src/main/java/com/qianhe/framework/config/SecurityConfig.java
View file @
71775d92
...
@@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
...
@@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
// 静态资源,可匿名访问
// 静态资源,可匿名访问
.
antMatchers
(
HttpMethod
.
GET
,
"/"
,
"/*.html"
,
"/**/*.html"
,
"/**/*.css"
,
"/**/*.js"
,
"/profile/**"
).
permitAll
()
.
antMatchers
(
HttpMethod
.
GET
,
"/"
,
"/*.html"
,
"/**/*.html"
,
"/**/*.css"
,
"/**/*.js"
,
"/profile/**"
).
permitAll
()
.
antMatchers
(
"/swagger-ui.html"
,
"/swagger-resources/**"
,
"/webjars/**"
,
"/*/api-docs"
,
"/druid/**"
).
permitAll
()
.
antMatchers
(
"/swagger-ui.html"
,
"/swagger-resources/**"
,
"/webjars/**"
,
"/*/api-docs"
,
"/druid/**"
).
permitAll
()
.
antMatchers
(
"/system/sjFybpZb/**"
,
"/system/sjFybp
/**"
).
permitAll
()
// .antMatchers("/system/sjLhsc/export_word
/**").permitAll()
// 除上面外的所有请求全部需要鉴权认证
// 除上面外的所有请求全部需要鉴权认证
.
anyRequest
().
authenticated
()
.
anyRequest
().
authenticated
()
.
and
()
.
and
()
...
...
qianhe-ydsj/pom.xml
View file @
71775d92
...
@@ -16,6 +16,12 @@
...
@@ -16,6 +16,12 @@
</description>
</description>
<dependencies>
<dependencies>
<!--导出word-->
<dependency>
<groupId>
cn.javaex
</groupId>
<artifactId>
officejj
</artifactId>
<version>
4.1.1
</version>
</dependency>
<!-- 通用工具-->
<!-- 通用工具-->
<dependency>
<dependency>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment