From 25c2bba11980a4fc534e30d0434f926c1644319a Mon Sep 17 00:00:00 2001 From: Charles7c Date: Fri, 14 Aug 2020 18:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8FAppRun=E6=8E=A5=E5=8F=A3=20(#?= =?UTF-8?q?459)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @ApiIgnore替代@Api(hidden=true) --- eladmin-system/src/main/java/me/zhengjie/AppRun.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eladmin-system/src/main/java/me/zhengjie/AppRun.java b/eladmin-system/src/main/java/me/zhengjie/AppRun.java index db2e33b9..74f92037 100644 --- a/eladmin-system/src/main/java/me/zhengjie/AppRun.java +++ b/eladmin-system/src/main/java/me/zhengjie/AppRun.java @@ -15,7 +15,6 @@ */ package me.zhengjie; -import io.swagger.annotations.Api; import me.zhengjie.annotation.rest.AnonymousGetMapping; import me.zhengjie.utils.SpringContextHolder; import org.mybatis.spring.annotation.MapperScan; @@ -28,6 +27,7 @@ import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.web.bind.annotation.RestController; +import springfox.documentation.annotations.ApiIgnore; /** * 开启审计功能 -> @EnableJpaAuditing @@ -35,9 +35,9 @@ import org.springframework.web.bind.annotation.RestController; * @author Zheng Jie * @date 2018/11/15 9:20:19 */ +@ApiIgnore @EnableAsync @RestController -@Api(hidden = true) @SpringBootApplication @EnableTransactionManagement @EnableJpaAuditing(auditorAwareRef = "auditorAware")