From 196606cc35879c38d71ab83356449a2edb551ce1 Mon Sep 17 00:00:00 2001 From: lidongy <1879087903@qq.com> Date: Tue, 29 Oct 2019 18:42:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=8D=E6=94=B9=E4=B8=80=E4=B8=8B=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lidongy <1879087903@qq.com> --- src/main/java/com/fanruan/api/decision/login/LoginKit.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/fanruan/api/decision/login/LoginKit.java b/src/main/java/com/fanruan/api/decision/login/LoginKit.java index 180c0ee..2b20db4 100644 --- a/src/main/java/com/fanruan/api/decision/login/LoginKit.java +++ b/src/main/java/com/fanruan/api/decision/login/LoginKit.java @@ -95,12 +95,12 @@ public class LoginKit { } /** - * 刷新用户名对应的token,并输出response + * 刷新用户名对应的token,并将响应利用web工具封装至res * * @param oldJwt 老的token * @param socketIOClient socket客户端 * @param tokenTimeout 设置的超时时长,仅对非保持登录有用,0<= tokenTimeOut <= LoginConfig.LoginTimeOut - * @param res HttpServletResponse + * @param res 刷新后,得到的响应会封装至此HttpServletResponse中 * @throws Exception 异常 */ public static void refreshTokenAndWriteResponse(String oldJwt, long tokenTimeout, SocketIOClient socketIOClient, HttpServletResponse res) throws Exception {