mirror of https://gitee.com/maxjhandsome/pig
end: 代码优化
This commit is contained in:
parent
be986064a2
commit
75b3f3f06e
|
@ -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
|
||||
|
|
|
@ -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) {
|
|
@ -145,9 +145,6 @@
|
|||
<logger name="com.ibatis.common.jdbc.ScriptRunner" level="DEBUG"/>
|
||||
<logger name="com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate" level="DEBUG"/>
|
||||
<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 level="DEBUG">
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-oauth2</artifactId>
|
||||
</dependency>
|
||||
<!--zuul网关-->
|
||||
<!--feign-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-feign</artifactId>
|
||||
|
|
Loading…
Reference in New Issue