记得上下班打卡 | git大法好,push需谨慎

Commit 722ad314 authored by jiangxiulong's avatar jiangxiulong

swagger 文档整理

parent 0d6d6946
...@@ -71,7 +71,7 @@ public class SweetWechatLoginController { ...@@ -71,7 +71,7 @@ public class SweetWechatLoginController {
return sweetLoginService.mpWxOauth2AccessTokenInfo(code, type); return sweetLoginService.mpWxOauth2AccessTokenInfo(code, type);
} }
@ApiOperation(value = "服务号获取用户基本信息", notes = "本接口在用户未关注公众号时,将不返回用户unionID信息,已关注的用户,开发者可使用“获取用户基本信息接口”获取unionID,未关注用户,开发者可使用“微信授权登录接口”并将scope参数设置为snsapi_userinfo,获取用户unionID") @ApiOperation(value = "服务号获取用户基本信息", notes = "本接口在用户未关注公众号时,将不返回用户unionID信息,已关注的用户,开发者可使用“获取用户基本信息接口”获取unionID,未关注用户,开发者可使用“微信授权登录接口”并将scope参数设置为snsapi_userinfo,获取用户unionID")
@GetMapping(value = {"mpUserInfo"}) @GetMapping(value = {"mpUserInfo"})
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "code", value = "微信code", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "code", value = "微信code", required = true),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment