Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
1f5cc0ff
Commit
1f5cc0ff
authored
Mar 21, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限修改 拦截器合并 注解废弃
parent
1c1540b1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
198 deletions
+17
-198
DealerRestrictInterceptor.java
...oot/module/hygf/api/config/DealerRestrictInterceptor.java
+0
-0
UserEmpowerInterceptor.java
...s/boot/module/hygf/api/config/UserEmpowerInterceptor.java
+16
-189
MysqlServerConfig.java
...n/amos/boot/module/hygf/biz/config/MysqlServerConfig.java
+1
-9
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/config/DealerRestrictInterceptor.java
deleted
100644 → 0
View file @
1c1540b1
This diff is collapsed.
Click to expand it.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/config/UserEmpowerInterceptor.java
View file @
1f5cc0ff
This diff is collapsed.
Click to expand it.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/config/MysqlServerConfig.java
View file @
1f5cc0ff
...
@@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
...
@@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import
com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean
;
import
com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean
;
import
com.github.pagehelper.PageInterceptor
;
import
com.github.pagehelper.PageInterceptor
;
import
com.yeejoin.amos.boot.biz.config.MetaHandler
;
import
com.yeejoin.amos.boot.biz.config.MetaHandler
;
import
com.yeejoin.amos.boot.module.hygf.api.config.DealerRestrictInterceptor
;
import
com.yeejoin.amos.boot.module.hygf.api.config.UserEmpowerInterceptor
;
import
com.yeejoin.amos.boot.module.hygf.api.config.UserEmpowerInterceptor
;
import
org.apache.ibatis.plugin.Interceptor
;
import
org.apache.ibatis.plugin.Interceptor
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.apache.ibatis.session.SqlSessionFactory
;
...
@@ -72,8 +71,7 @@ public class MysqlServerConfig {
...
@@ -72,8 +71,7 @@ public class MysqlServerConfig {
bean
.
setPlugins
(
new
Interceptor
[]
{
interceptor
,
bean
.
setPlugins
(
new
Interceptor
[]
{
interceptor
,
paginationInterceptor
(),
paginationInterceptor
(),
userEmpowerInterceptor
(),
userEmpowerInterceptor
()
dealerRestrictInterceptor
()
});
});
return
bean
.
getObject
();
return
bean
.
getObject
();
}
}
...
@@ -105,10 +103,5 @@ public class MysqlServerConfig {
...
@@ -105,10 +103,5 @@ public class MysqlServerConfig {
return
userEmpowerInterceptor
;
return
userEmpowerInterceptor
;
}
}
@Bean
public
DealerRestrictInterceptor
dealerRestrictInterceptor
()
{
DealerRestrictInterceptor
dealerRestrictInterceptor
=
new
DealerRestrictInterceptor
();
return
dealerRestrictInterceptor
;
}
}
}
\ No newline at end of file
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