From fca2c75f9d980a89ae531c193b772091ba2fb3c5 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Mon, 30 Sep 2024 16:30:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADswagger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-modules/sgzb-material/pom.xml | 12 ++---------- .../java/com/bonus/sgzb/SgzbMaterialApplication.java | 4 ++-- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/sgzb-modules/sgzb-material/pom.xml b/sgzb-modules/sgzb-material/pom.xml index edeb351..b00b0ad 100644 --- a/sgzb-modules/sgzb-material/pom.xml +++ b/sgzb-modules/sgzb-material/pom.xml @@ -88,21 +88,13 @@ sgzb-common-log - - - - com.bonus.sgzb - sgzb-common-swagger - + org.springframework.boot spring-boot-configuration-processor true - - com.bonus.sgzb - sgzb-common-swagger - + org.projectlombok lombok diff --git a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/SgzbMaterialApplication.java b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/SgzbMaterialApplication.java index 2e82735..de296a3 100644 --- a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/SgzbMaterialApplication.java +++ b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/SgzbMaterialApplication.java @@ -3,7 +3,7 @@ package com.bonus.sgzb; import com.bonus.sgzb.common.security.annotation.EnableCustomConfig; import com.bonus.sgzb.common.security.annotation.EnableRyFeignClients; -import com.bonus.sgzb.common.swagger.annotation.EnableCustomSwagger2; +//import com.bonus.sgzb.common.swagger.annotation.EnableCustomSwagger2; import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @@ -15,7 +15,7 @@ import org.springframework.scheduling.annotation.EnableScheduling; * * @author ruoyi */ -@EnableCustomSwagger2 +//@EnableCustomSwagger2 @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) @EnableCustomConfig @EnableRyFeignClients