Browse Source

修改退出登录后的返回值

master
WendyYang 6 months ago
parent
commit
94eac0f2b6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kq-vas-api/src/main/java/com/ningdatech/kqapi/user/controller/UserAuthController.java

+ 1
- 1
kq-vas-api/src/main/java/com/ningdatech/kqapi/user/controller/UserAuthController.java View File

@@ -74,7 +74,7 @@ public class UserAuthController {
cookie.setPath(request.getContextPath() + "/");
cookie.setMaxAge(AuthConst.SESSION_EXPIRED);
response.addCookie(cookie);
response.setStatus(HttpStatus.OK.value());
response.setStatus(HttpStatus.UNAUTHORIZED.value());
response.getWriter().write(objectMapper.writeValueAsString(LOGOUT_RET));
}



Loading…
Cancel
Save