From fbba782f5ce4efb3a23164d1358c4a66eabcaea9 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 14 二月 2020 13:58:35 +0800 Subject: [PATCH] 增加彩色日志输出 调整优化日志格式 --- ruoyi/pom.xml | 48 +++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 39 insertions(+), 9 deletions(-) diff --git a/ruoyi/pom.xml b/ruoyi/pom.xml index b317c40..51fc5e5 100644 --- a/ruoyi/pom.xml +++ b/ruoyi/pom.xml @@ -35,6 +35,8 @@ <poi.version>3.17</poi.version> <oshi.version>3.9.1</oshi.version> <velocity.version>1.7</velocity.version> + <mybatis-plus.version>3.3.0</mybatis-plus.version> + <hutool.version>5.0.6</hutool.version> </properties> <dependencies> @@ -43,14 +45,18 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> - <!-- <exclusions> <exclusion> <artifactId>spring-boot-starter-tomcat</artifactId> <groupId>org.springframework.boot</groupId> </exclusion> </exclusions> - --> + </dependency> + + <!-- web 瀹瑰櫒浣跨敤 undertow 鎬ц兘鏇村己 --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-undertow</artifactId> </dependency> <!-- SpringBoot 娴嬭瘯 --> @@ -104,18 +110,24 @@ <scope>runtime</scope> </dependency> - <!-- SpringBoot闆嗘垚mybatis妗嗘灦 --> - <dependency> - <groupId>org.mybatis.spring.boot</groupId> - <artifactId>mybatis-spring-boot-starter</artifactId> - <version>${mybatis.spring.boot.starter.version}</version> - </dependency> +<!-- <!– SpringBoot闆嗘垚mybatis妗嗘灦 –>--> +<!-- <dependency>--> +<!-- <groupId>org.mybatis.spring.boot</groupId>--> +<!-- <artifactId>mybatis-spring-boot-starter</artifactId>--> +<!-- <version>${mybatis.spring.boot.starter.version}</version>--> +<!-- </dependency>--> <!-- pagehelper 鍒嗛〉鎻掍欢 --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>${pagehelper.spring.boot.starter.version}</version> + <exclusions> + <exclusion> + <groupId>org.mybatis</groupId> + <artifactId>mybatis</artifactId> + </exclusion> + </exclusions> </dependency> <!--闃块噷鏁版嵁搴撹繛鎺ユ睜 --> @@ -238,7 +250,25 @@ <artifactId>velocity</artifactId> <version>${velocity.version}</version> </dependency> - + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-boot-starter</artifactId> + <version>${mybatis-plus.version}</version> + </dependency> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-extension</artifactId> + <version>${mybatis-plus.version}</version> + </dependency> + <dependency> + <groupId>cn.hutool</groupId> + <artifactId>hutool-all</artifactId> + <version>${hutool.version}</version> + </dependency> + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + </dependency> </dependencies> <build> -- Gitblit v1.9.3