diff --git a/kq-vas-api/src/main/java/com/ningdatech/kqapi/user/controller/UserAuthController.java b/kq-vas-api/src/main/java/com/ningdatech/kqapi/user/controller/UserAuthController.java index d13972a..3272cdd 100644 --- a/kq-vas-api/src/main/java/com/ningdatech/kqapi/user/controller/UserAuthController.java +++ b/kq-vas-api/src/main/java/com/ningdatech/kqapi/user/controller/UserAuthController.java @@ -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)); }