|
@@ -36,7 +36,7 @@ public class AppController {
|
|
|
@Autowired
|
|
|
private DesUtils desUtils;
|
|
|
|
|
|
- /* @GetMapping("")
|
|
|
+ @GetMapping("")
|
|
|
public String web(HttpServletRequest request, HttpServletResponse response, String ticket,String loginType) {
|
|
|
|
|
|
return "redirect:/web/index.html";
|
|
@@ -52,7 +52,7 @@ public class AppController {
|
|
|
public String mobile(String ticket,String loginType) {
|
|
|
|
|
|
return "redirect:/mobile/index.html";
|
|
|
- }*/
|
|
|
+ }
|
|
|
|
|
|
//解析单点登录返回的ticket获取用户帐号
|
|
|
private String encoderTicket(String ticket,String serviceUrl) {
|