mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-05-03 20:27:54 +08:00
新增 getStpLogic() 方法
This commit is contained in:
parent
07fadc2747
commit
f4f06c4516
@ -45,6 +45,14 @@ public class StpUtil {
|
||||
// 以便可以通过 SaManager.getStpLogic(type) 的方式来全局获取到这个 StpLogic
|
||||
SaManager.putStpLogic(newStpLogic);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取 StpLogic 对象
|
||||
* @return /
|
||||
*/
|
||||
public static StpLogic getStpLogic() {
|
||||
return stpLogic;
|
||||
}
|
||||
|
||||
|
||||
// =================== 获取token 相关 ===================
|
||||
|
Loading…
Reference in New Issue
Block a user