From d53c7e295d250cc9d5751f5c7ed062141170ccc6 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Sun, 25 Apr 2021 16:56:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E6=96=87=E6=A1=A3=20swagger?= =?UTF-8?q?=20ui=20=E6=9B=BF=E6=8D=A2=20knife4j=20ui=20=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E4=BD=93=E9=AA=8C=EF=BC=8C=E5=90=8D=E7=A7=B0=E4=B8=AD=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E5=8C=85=E5=90=AB=E6=96=9C=E6=9D=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/jeesite/modules/sys/web/AccountController.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/core/src/main/java/com/jeesite/modules/sys/web/AccountController.java b/modules/core/src/main/java/com/jeesite/modules/sys/web/AccountController.java index e1fb65e1..6f411554 100644 --- a/modules/core/src/main/java/com/jeesite/modules/sys/web/AccountController.java +++ b/modules/core/src/main/java/com/jeesite/modules/sys/web/AccountController.java @@ -39,6 +39,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; +import springfox.documentation.annotations.ApiIgnore; /** * 账号自助服务Controller @@ -48,7 +49,7 @@ import io.swagger.annotations.ApiOperation; @Controller @RequestMapping(value = "/account") @ConditionalOnProperty(name="web.core.enabled", havingValue="true", matchIfMissing=true) -@Api(tags = "Account / 账号服务:验证码登录、找回密码、账号注册") +@Api(tags = "Account - 账号服务") public class AccountController extends BaseController{ @Autowired @@ -107,7 +108,7 @@ public class AccountController extends BaseController{ * 忘记密码页面 */ @GetMapping(value = "forgetPwd") - @ApiOperation(value = "忘记密码页面") + @ApiIgnore public String forgetPwd(Model model) { return "modules/sys/forgetPwd"; } @@ -340,7 +341,7 @@ public class AccountController extends BaseController{ * @param user 用户信息参数 */ @GetMapping(value = "registerUser") - @ApiOperation(value = "用户注册页面") + @ApiIgnore public String registerUser(User user, HttpServletRequest request) { return "modules/sys/registerUser"; }