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
892812aa
Commit
892812aa
authored
Jul 18, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shiro
parent
a6887325
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
14 deletions
+6
-14
ch-admin-api/pom.xml
ch-admin-api/pom.xml
+2
-7
ch-admin-api/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
...i/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
+3
-6
ch-admin-api/src/main/resources/application.yml
ch-admin-api/src/main/resources/application.yml
+1
-1
No files found.
ch-admin-api/pom.xml
View file @
892812aa
...
@@ -45,17 +45,12 @@
...
@@ -45,17 +45,12 @@
<artifactId>
weixin-java-miniapp
</artifactId>
<artifactId>
weixin-java-miniapp
</artifactId>
</dependency>
</dependency>
<!--
<dependency>
<dependency>
<groupId>
org.apache.shiro
</groupId>
<groupId>
org.apache.shiro
</groupId>
<artifactId>
shiro-spring-boot-web-starter
</artifactId>
<artifactId>
shiro-spring-boot-web-starter
</artifactId>
</dependency>-->
<dependency>
<groupId>
org.apache.shiro
</groupId>
<artifactId>
shiro-spring
</artifactId>
<version>
1.4.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.hutool
</groupId>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-all
</artifactId>
<artifactId>
hutool-all
</artifactId>
...
...
ch-admin-api/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
View file @
892812aa
...
@@ -78,13 +78,10 @@ public class ShiroConfig {
...
@@ -78,13 +78,10 @@ public class ShiroConfig {
return
authorizationAttributeSourceAdvisor
;
return
authorizationAttributeSourceAdvisor
;
}
}
/*@Bean
public static LifecycleBeanPostProcessor getLifecycleBeanPostProcessor() {
return new LifecycleBeanPostProcessor();
}*/
// @Bean
// @DependsOn("lifecycleBeanPostProcessor")
@Bean
@DependsOn
(
"lifecycleBeanPostProcessor"
)
public
static
DefaultAdvisorAutoProxyCreator
defaultAdvisorAutoProxyCreator
()
{
public
static
DefaultAdvisorAutoProxyCreator
defaultAdvisorAutoProxyCreator
()
{
DefaultAdvisorAutoProxyCreator
creator
=
new
DefaultAdvisorAutoProxyCreator
();
DefaultAdvisorAutoProxyCreator
creator
=
new
DefaultAdvisorAutoProxyCreator
();
creator
.
setProxyTargetClass
(
true
);
creator
.
setProxyTargetClass
(
true
);
...
...
ch-admin-api/src/main/resources/application.yml
View file @
892812aa
...
@@ -11,7 +11,7 @@ spring:
...
@@ -11,7 +11,7 @@ spring:
server
:
server
:
port
:
808
3
port
:
808
5
servlet
:
servlet
:
context-path
:
/system
context-path
:
/system
...
...
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