Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
190776df
Commit
190776df
authored
Jul 19, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pom
parent
16f4393c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
1 deletion
+11
-1
ch-admin-api/pom.xml
ch-admin-api/pom.xml
+4
-0
ch-admin-api/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
...i/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
+1
-0
ch-admin-api/src/main/resources/application.yml
ch-admin-api/src/main/resources/application.yml
+1
-1
ch-wx-api/pom.xml
ch-wx-api/pom.xml
+5
-0
No files found.
ch-admin-api/pom.xml
View file @
190776df
...
...
@@ -62,6 +62,10 @@
<artifactId>
shiro-spring-boot-web-starter
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
cn.hutool
</groupId>
...
...
ch-admin-api/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
View file @
190776df
...
...
@@ -39,6 +39,7 @@ public class ShiroConfig {
filterChainDefinitionMap
.
put
(
"/admin/auth/401"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/auth/index"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/auth/403"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/actuator/health"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/**"
,
"authc"
);
shiroFilterFactoryBean
.
setLoginUrl
(
"/admin/auth/401"
);
...
...
ch-admin-api/src/main/resources/application.yml
View file @
190776df
...
...
@@ -13,7 +13,7 @@ spring:
server
:
port
:
8085
servlet
:
context-path
:
context-path
:
/admin
logging
:
level
:
...
...
ch-wx-api/pom.xml
View file @
190776df
...
...
@@ -65,6 +65,11 @@
<version>
2.9.2
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
</dependencies>
<build>
...
...
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