end: 代码优化

This commit is contained in:
wangiegie@gmail.com 2017-12-01 14:05:10 +08:00
parent be986064a2
commit 75b3f3f06e
4 changed files with 2 additions and 9 deletions

View File

@ -2,12 +2,8 @@ package com.github.pig.admin;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer; 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.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.http.HttpStatus;
/** /**
* @author lengleng * @author lengleng

View File

@ -21,7 +21,7 @@ import java.util.Properties;
* @author lengleng * @author lengleng
* @date 2017/10/29 * @date 2017/10/29
*/ */
public class MybatisPlusGenerator { public class PigResourcesGenerator {
public static void main(String[] args) { public static void main(String[] args) {

View File

@ -145,9 +145,6 @@
<logger name="com.ibatis.common.jdbc.ScriptRunner" level="DEBUG"/> <logger name="com.ibatis.common.jdbc.ScriptRunner" level="DEBUG"/>
<logger name="com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate" level="DEBUG"/> <logger name="com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate" level="DEBUG"/>
<logger name="org.springframework.amqp.rabbit" level="INFO"/> <logger name="org.springframework.amqp.rabbit" level="INFO"/>
<logger name="com.github.pig.admin" level="DEBUG" additivity="true">
<appender-ref ref="STDOUT"/>
</logger>
<!-- root级别 DEBUG --> <!-- root级别 DEBUG -->
<root level="DEBUG"> <root level="DEBUG">

View File

@ -33,7 +33,7 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-oauth2</artifactId> <artifactId>spring-cloud-starter-oauth2</artifactId>
</dependency> </dependency>
<!--zuul网关--> <!--feign-->
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-feign</artifactId> <artifactId>spring-cloud-starter-feign</artifactId>