新增 getStpLogic() 方法

This commit is contained in:
click33 2022-08-18 17:30:49 +08:00
parent 07fadc2747
commit f4f06c4516

View File

@ -45,6 +45,14 @@ public class StpUtil {
// 以便可以通过 SaManager.getStpLogic(type) 的方式来全局获取到这个 StpLogic
SaManager.putStpLogic(newStpLogic);
}
/**
* 获取 StpLogic 对象
* @return /
*/
public static StpLogic getStpLogic() {
return stpLogic;
}
// =================== 获取token 相关 ===================