|
|
|
@@ -74,7 +74,8 @@ public class WechatLoginController extends BaseController { |
|
|
|
Cookie unameCookie = new Cookie("uname", info.getUsername()); |
|
|
|
unameCookie.setMaxAge(60); |
|
|
|
response.addCookie(openIdCookie); |
|
|
|
response.sendRedirect(request.getContextPath() + "/#/"); |
|
|
|
log.debug(request.getContextPath() + "/#/"); |
|
|
|
response.sendRedirect("https://" + request.getContextPath() + "/#/"); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error(e.getMessage()); |
|
|
|
return new ResultData(ResultData.ERROR, "用户名或者密码错误"); |
|
|
|
|