From 8166ae8481f4f488e29b62fda069f3e3f3916432 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G8BCEP0\\HP" <2037158277@qq.com> Date: Thu, 9 Sep 2021 15:18:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=99=BB=E5=BD=95=E7=9A=84=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xkrs/service/impl/AppletsUserServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/xkrs/service/impl/AppletsUserServiceImpl.java b/src/main/java/com/xkrs/service/impl/AppletsUserServiceImpl.java index f43371f..332889e 100644 --- a/src/main/java/com/xkrs/service/impl/AppletsUserServiceImpl.java +++ b/src/main/java/com/xkrs/service/impl/AppletsUserServiceImpl.java @@ -79,9 +79,9 @@ public class AppletsUserServiceImpl implements AppletsUserService { appletsUserDao.updateSessionKey(appletsUser.getId(),sessionKeys); //设置token log.info("====="+appletsUser.getId()); - String token = JwtUtil.sign(appletsUser.getNickName(), sessionKeys); + //String token = JwtUtil.sign(appletsUser.getNickName(), sessionKeys); Map map = new HashMap(3); - map.put("token",token); + //map.put("token",token); map.put("openId",appletsUser.getOpenId()); map.put("session_key",sessionKeys); return outputEncapsulationObject(PromptMessageEnum.SUCCESS,map,locale); @@ -97,9 +97,9 @@ public class AppletsUserServiceImpl implements AppletsUserService { log.info("插入用户成功------------>"); System.out.println("拿到userId----------------------->"+appletsUser1.getId()); //设置token - String token = JwtUtil.sign(appletsUser1.getNickName(), appletsUser1.getSessionKey()); + //String token = JwtUtil.sign(appletsUser1.getNickName(), appletsUser1.getSessionKey()); Map map = new HashMap(3); - map.put("token",token); + //map.put("token",token); map.put("openId",appletsUser1.getOpenId()); map.put("session_key",appletsUser1.getSessionKey()); return outputEncapsulationObject(PromptMessageEnum.SUCCESS,map,locale);