style(OAuthController):添加注释

This commit is contained in:
有来技术 2021-10-08 00:44:15 +08:00
parent 60338b94a6
commit f6f8f34300

View File

@ -38,7 +38,7 @@ public class OAuthController {
private RedisTemplate redisTemplate;
private KeyPair keyPair;
@ApiOperation(value = "OAuth2认证", notes = "login")
@ApiOperation(value = "OAuth2认证", notes = "登录入口")
@ApiImplicitParams({
@ApiImplicitParam(name = "grant_type", defaultValue = "password", value = "授权模式", required = true),
@ApiImplicitParam(name = "client_id", defaultValue = "client", value = "Oauth2客户端ID", required = true),