Commit 1a9440824c65a7d21904cb81e329d48dd4937c63

Authored by timfruit
1 parent fcf1c228

添加注释

yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/system/controller/auth/SysAuthController.java
... ... @@ -83,13 +83,14 @@ public class SysAuthController {
83 83 }
84 84  
85 85 @GetMapping("/social-login-get")
86   - @ApiOperation("社交登录,使用 code 授权码")
  86 + @ApiOperation("微信公众号授权回调地址,输出social-login2的必要参数用于测试,使用 code 授权码")
87 87 @ResponseBody
88 88 @Deprecated
89 89 public CommonResult<MbrAuthSocialLoginReqVO> socialLoginGet(HttpServletRequest request,String code,String state) {
90 90 // 返回结果
91 91 MbrAuthSocialLoginReqVO reqVO = MbrAuthSocialLoginReqVO.builder().state(state).code(code).build();
92 92 reqVO.setType(12);
  93 + //输出social-login2的必要参数用于测试
93 94 System.out.println(JSON.toJSON(reqVO));
94 95 return success(reqVO);
95 96 }
... ...