This commit is contained in:
thinkgem
2022-10-25 13:44:36 +08:00
parent 1b4b70a9ac
commit 31775c0255

View File

@@ -38,9 +38,10 @@ public class SsoController extends BaseController{
// public static void main(String[] args) {
// String username = "system";
// String secretKey = Global.getConfig("shiro.sso.secretKey");
// String secretKey = "test"; // Global.getConfig("shiro.sso.secretKey");
// String token = Md5Utils.md5(secretKey + username + DateUtils.getDate("yyyyMMdd"));
// System.out.println("http://127.0.0.1:3100/js/sso/" + username + "/" + token + "?url=../sys/office/index");
// System.out.println("http://192.168.56.1:8980/js/sso/" + username + "/" + token + "?url=/a/sys/office/index&relogin=true");
// System.out.println("http://192.168.56.1:3100/js/sso/" + username + "/" + token + "?url=../sys/office/index&relogin=true");
// }
/**