From 1a9440824c65a7d21904cb81e329d48dd4937c63 Mon Sep 17 00:00:00 2001 From: timfruit Date: Tue, 26 Oct 2021 22:26:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/system/controller/auth/SysAuthController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/system/controller/auth/SysAuthController.java b/yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/system/controller/auth/SysAuthController.java index 377dd9966..1e85f427d 100644 --- a/yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/system/controller/auth/SysAuthController.java +++ b/yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/system/controller/auth/SysAuthController.java @@ -83,13 +83,14 @@ public class SysAuthController { } @GetMapping("/social-login-get") - @ApiOperation("社交登录,使用 code 授权码") + @ApiOperation("微信公众号授权回调地址,输出social-login2的必要参数用于测试,使用 code 授权码") @ResponseBody @Deprecated public CommonResult socialLoginGet(HttpServletRequest request,String code,String state) { // 返回结果 MbrAuthSocialLoginReqVO reqVO = MbrAuthSocialLoginReqVO.builder().state(state).code(code).build(); reqVO.setType(12); + //输出social-login2的必要参数用于测试 System.out.println(JSON.toJSON(reqVO)); return success(reqVO); }