|
|
|
@ -45,7 +45,7 @@ public class SingleLoginController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@ApiOperation(value = "对接大屏登录接口1")
|
|
|
|
|
@GetMapping("/login1")
|
|
|
|
|
public AjaxResult login1(String[] args) throws Exception {
|
|
|
|
|
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";
|
|
|
|
@ -59,7 +59,7 @@ public class SingleLoginController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@ApiOperation(value = "对接大屏登录接口2")
|
|
|
|
|
@GetMapping("/login2")
|
|
|
|
|
public AjaxResult login2(String[] args) throws Exception {
|
|
|
|
|
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";
|
|
|
|
|