From 63764b5ddb2ba262e07cd213b34588680a1fa25c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=89=E6=9D=A5=E6=8A=80=E6=9C=AF?= <1490493387@qq.com> Date: Sat, 9 Oct 2021 00:51:26 +0800 Subject: [PATCH] =?UTF-8?q?style(OAuthController.java):=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/youlai/auth/controller/OAuthController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youlai-auth/src/main/java/com/youlai/auth/controller/OAuthController.java b/youlai-auth/src/main/java/com/youlai/auth/controller/OAuthController.java index 5d5d98f40..f81fc7217 100644 --- a/youlai-auth/src/main/java/com/youlai/auth/controller/OAuthController.java +++ b/youlai-auth/src/main/java/com/youlai/auth/controller/OAuthController.java @@ -77,7 +77,7 @@ public class OAuthController { return Result.success(accessToken); } - @ApiOperation(value = "注销", notes = "logout") + @ApiOperation(value = "注销") @DeleteMapping("/logout") public Result logout() { JSONObject payload = JwtUtils.getJwtPayload(); @@ -94,7 +94,7 @@ public class OAuthController { return Result.success("注销成功"); } - @ApiOperation(value = "获取公钥", notes = "login") + @ApiOperation(value = "获取公钥") @GetMapping("/public-key") public Map getPublicKey() { RSAPublicKey publicKey = (RSAPublicKey) keyPair.getPublic();