|
|
|
@ -48,7 +48,7 @@ public class SingleLoginController extends BaseController {
|
|
|
|
|
public AjaxResult login1() throws Exception {
|
|
|
|
|
String token = getToken("admin", "59a984baa2991e4adcc4d307aa967b2516494386");
|
|
|
|
|
String encodeToken = URLEncoder.encode(token, "UTF-8");
|
|
|
|
|
String s = "https://2.35.38.240/api/v2/singleLogin?" + "token=" + encodeToken + "&url=https://2.35.38.240/dasv/preview/4mj2a4fjqccg";
|
|
|
|
|
String s = "https://2.35.38.240/api/v2/singleLogin?" + "token=" + encodeToken + "&url=/dasv/preview/4mj2a4fjqccg";
|
|
|
|
|
return AjaxResult.success((Object) s);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -62,7 +62,7 @@ public class SingleLoginController extends BaseController {
|
|
|
|
|
public AjaxResult login2() throws Exception {
|
|
|
|
|
String token = getToken("admin", "59a984baa2991e4adcc4d307aa967b2516494386");
|
|
|
|
|
String encodeToken = URLEncoder.encode(token, "UTF-8");
|
|
|
|
|
String s = "https://2.35.38.240/api/v2/singleLogin?" + "token=" + encodeToken + "&url=https://2.35.38.240/dasv/preview/4mj2bpr9ccn4";
|
|
|
|
|
String s = "https://2.35.38.240/api/v2/singleLogin?" + "token=" + encodeToken + "&url=/dasv/preview/4mj2bpr9ccn4";
|
|
|
|
|
return AjaxResult.success((Object) s);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|