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