diff --git a/pig-admin-service/src/main/java/com/github/pig/admin/PigAdminApplication.java b/pig-admin-service/src/main/java/com/github/pig/admin/PigAdminApplication.java index db49ee08..372944f0 100644 --- a/pig-admin-service/src/main/java/com/github/pig/admin/PigAdminApplication.java +++ b/pig-admin-service/src/main/java/com/github/pig/admin/PigAdminApplication.java @@ -2,12 +2,8 @@ package com.github.pig.admin; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer; -import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer; -import org.springframework.boot.web.servlet.ErrorPage; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; -import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; -import org.springframework.http.HttpStatus; /** * @author lengleng diff --git a/pig-admin-service/src/main/java/com/github/pig/admin/util/MybatisPlusGenerator.java b/pig-admin-service/src/main/java/com/github/pig/admin/util/PigResourcesGenerator.java similarity index 99% rename from pig-admin-service/src/main/java/com/github/pig/admin/util/MybatisPlusGenerator.java rename to pig-admin-service/src/main/java/com/github/pig/admin/util/PigResourcesGenerator.java index 158db7d4..5d1bfdce 100644 --- a/pig-admin-service/src/main/java/com/github/pig/admin/util/MybatisPlusGenerator.java +++ b/pig-admin-service/src/main/java/com/github/pig/admin/util/PigResourcesGenerator.java @@ -21,7 +21,7 @@ import java.util.Properties; * @author lengleng * @date 2017/10/29 */ -public class MybatisPlusGenerator { +public class PigResourcesGenerator { public static void main(String[] args) { diff --git a/pig-admin-service/src/main/resources/logback.xml b/pig-admin-service/src/main/resources/logback.xml index a63bba5d..5b09fd48 100644 --- a/pig-admin-service/src/main/resources/logback.xml +++ b/pig-admin-service/src/main/resources/logback.xml @@ -145,9 +145,6 @@ - - - diff --git a/pig-gateway/pom.xml b/pig-gateway/pom.xml index 6f5d258e..eeca90e8 100644 --- a/pig-gateway/pom.xml +++ b/pig-gateway/pom.xml @@ -33,7 +33,7 @@ org.springframework.cloud spring-cloud-starter-oauth2 - + org.springframework.cloud spring-cloud-starter-feign