From 94eac0f2b66d7e69c8d58656c09338f983739adb Mon Sep 17 00:00:00 2001 From: WendyYang Date: Tue, 23 Apr 2024 11:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=80=E5=87=BA=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=90=8E=E7=9A=84=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ningdatech/kqapi/user/controller/UserAuthController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }