Explorar el Código

修改退出登录后的返回值

master
WendyYang hace 6 meses
padre
commit
94eac0f2b6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

@@ -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));
}



Cargando…
Cancelar
Guardar