|
@@ -35,6 +35,7 @@ public class AppLoginController {
|
|
public AjaxResult login(@RequestBody AppLoginVO appLoginVO, HttpServletRequest request){
|
|
public AjaxResult login(@RequestBody AppLoginVO appLoginVO, HttpServletRequest request){
|
|
String privateKey = redisService.getCacheObject(appLoginVO.getSessionId());
|
|
String privateKey = redisService.getCacheObject(appLoginVO.getSessionId());
|
|
String sessionId = request.getSession().getId();
|
|
String sessionId = request.getSession().getId();
|
|
|
|
+ System.out.println("sessionId = " + sessionId);
|
|
redisService.setCacheObject(sessionId, privateKey);
|
|
redisService.setCacheObject(sessionId, privateKey);
|
|
AjaxResult ajaxResult = appLoginService.login(appLoginVO);
|
|
AjaxResult ajaxResult = appLoginService.login(appLoginVO);
|
|
return ajaxResult;
|
|
return ajaxResult;
|