|
@@ -133,7 +133,7 @@ public class WechatController {
|
|
|
cookie0.setMaxAge(24 * 60 * 60);
|
|
|
cookie0.setDomain("360lj.com");
|
|
|
response.addCookie(cookie0);
|
|
|
- Cookie cookie1 = new Cookie("LoginToken", userAccount.getId());
|
|
|
+ Cookie cookie1 = new Cookie("LoginToken", loginToken);
|
|
|
cookie1.setPath("/");
|
|
|
cookie1.setMaxAge(24 * 60 * 60);
|
|
|
cookie1.setDomain("360lj.com");
|