mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
🔥 Removing code or files. remove not use test
This commit is contained in:
1 parent
7bc5881d95
commit
2ad1ded684
1 file changed
-19
-19
@@ -1,19 +0,0 @@
|
||||
package com.pig4cloud.pigx.common.data.tenant;
|
||||
|
||||
import cn.hutool.core.thread.ThreadUtil;
|
||||
|
||||
/**
|
||||
* @author lengleng
|
||||
* @date 2019-06-18
|
||||
*/
|
||||
public class TenantContextHolderTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
TenantContextHolder.setTenantId(10000);
|
||||
System.out.println(TenantContextHolder.getTenantId());
|
||||
|
||||
ThreadUtil.execAsync(() -> {
|
||||
System.out.println(TenantContextHolder.getTenantId());
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user