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
ce08b27e
Commit
ce08b27e
authored
Mar 21, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev0124' into dev0124
parents
8f7e77ff
49bf6245
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
67 deletions
+0
-67
UserEmpowerThreadLocal.java
...s/boot/module/hygf/api/config/UserEmpowerThreadLocal.java
+0
-37
UserEmpowerThreadLocalModel.java
...t/module/hygf/api/config/UserEmpowerThreadLocalModel.java
+0
-30
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/config/UserEmpowerThreadLocal.java
deleted
100644 → 0
View file @
8f7e77ff
//package com.yeejoin.amos.boot.module.hygf.api.config;
//
//import com.yeejoin.amos.boot.module.hygf.api.entity.StdUserEmpower;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//
//import java.util.List;
//
///**
// * @description:
// * @author: tw
// * @createDate: 2023/11/9
// */
//public class UserEmpowerThreadLocal {
// private static final Logger logger = LoggerFactory.getLogger(com.yeejoin.amos.boot.biz.common.interceptors.PermissionInterceptorContext.class);
//
// private static ThreadLocal<UserEmpowerThreadLocalModel> requestContext = ThreadLocal.withInitial(UserEmpowerThreadLocalModel::new);
//
// private static UserEmpowerThreadLocalModel getPermissionInterceptorContext() {
// return requestContext.get();
// }
//
// public static StdUserEmpower getDataAuthRule() {
// return getPermissionInterceptorContext().getThreadLocalData();
// }
//
// public static void setDataAuthRule(StdUserEmpower dataAuthRule) {
// getPermissionInterceptorContext().setDataAuthRule(dataAuthRule);
// }
//
// public static void clean() {
// if (requestContext != null) {
// requestContext.remove();
// }
// }
// }
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/config/UserEmpowerThreadLocalModel.java
deleted
100644 → 0
View file @
8f7e77ff
//package com.yeejoin.amos.boot.module.hygf.api.config;
//
//import com.yeejoin.amos.boot.module.hygf.api.entity.StdUserEmpower;
//
//import java.io.Serializable;
//import java.util.List;
//
///**
// * @description:
// * @author: tw
// * @createDate: 2023/11/9
// */
//public class UserEmpowerThreadLocalModel implements Serializable {
// private static final long serialVersionUID = 1L;
//
// private StdUserEmpower threadLocalData;
//
// public StdUserEmpower getThreadLocalData() {
// return threadLocalData;
// }
//
// public void setDataAuthRule(StdUserEmpower threadLocalData) {
// this.threadLocalData = threadLocalData;
// }
//
// public void clean() {
// this.threadLocalData = null;
// }
//
//}
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