Sfoglia il codice sorgente

修改退出登录后的返回值

master
WendyYang 8 mesi fa
parent
commit
94eac0f2b6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi 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…
Annulla
Salva