From 75b3f3f06ea5826bc77ec51b182cbfc13db6b4ed Mon Sep 17 00:00:00 2001 From: "wangiegie@gmail.com" Date: Fri, 1 Dec 2017 14:05:10 +0800 Subject: [PATCH] =?UTF-8?q?end:=20=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/github/pig/admin/PigAdminApplication.java | 4 ---- .../{MybatisPlusGenerator.java => PigResourcesGenerator.java} | 2 +- pig-admin-service/src/main/resources/logback.xml | 3 --- pig-gateway/pom.xml | 2 +- 4 files changed, 2 insertions(+), 9 deletions(-) rename pig-admin-service/src/main/java/com/github/pig/admin/util/{MybatisPlusGenerator.java => PigResourcesGenerator.java} (99%) 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