mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-30 12:47:54 +08:00
增加 getStpLogic() 方法
This commit is contained in:
parent
a1f9d1f461
commit
c07ada067a
@ -49,6 +49,14 @@ public class StpUserUtil {
|
|||||||
SaManager.putStpLogic(newStpLogic);
|
SaManager.putStpLogic(newStpLogic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取 StpLogic 对象
|
||||||
|
* @return /
|
||||||
|
*/
|
||||||
|
public static StpLogic getStpLogic() {
|
||||||
|
return stpLogic;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// =================== 获取token 相关 ===================
|
// =================== 获取token 相关 ===================
|
||||||
|
|
||||||
|
@ -49,6 +49,14 @@ public class StpUserUtil {
|
|||||||
SaManager.putStpLogic(newStpLogic);
|
SaManager.putStpLogic(newStpLogic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取 StpLogic 对象
|
||||||
|
* @return /
|
||||||
|
*/
|
||||||
|
public static StpLogic getStpLogic() {
|
||||||
|
return stpLogic;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// =================== 获取token 相关 ===================
|
// =================== 获取token 相关 ===================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user