From 70bfea97e7226fdf52256d3e386f8646ffa4116d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A2=A8=E5=A4=A7=E5=8F=94?= <494979559@qq.com> Date: Mon, 14 Oct 2024 09:30:48 +0800 Subject: [PATCH] =?UTF-8?q?debug=EF=BC=9A=E7=94=A8=E6=88=B7=E7=99=BB?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/app/AppAuthController.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppAuthController.java b/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppAuthController.java index 8887a682..ddf763d8 100644 --- a/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppAuthController.java +++ b/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppAuthController.java @@ -52,12 +52,9 @@ public class AppAuthController extends BaseController { public AjaxResult wxLogin(@RequestBody @Validated WxLoginBody body) { AjaxResult ajax = AjaxResult.success(); - // 获取微信openId - String wxOpenId = loginService.getWxOpenId(body.getLoginCode()); // 生成令牌 String token = loginService.wxLogin(body); ajax.put(Constants.TOKEN, token); - ajax.put("wxOpenId", wxOpenId); return ajax; } }