正在显示
2 个修改的文件
包含
34 行增加
和
6 行删除
| @@ -6,22 +6,20 @@ package com.tianbo.warehouse; | @@ -6,22 +6,20 @@ package com.tianbo.warehouse; | ||
| 6 | 6 | ||
| 7 | import org.mybatis.spring.annotation.MapperScan; | 7 | import org.mybatis.spring.annotation.MapperScan; |
| 8 | import org.springframework.boot.SpringApplication; | 8 | import org.springframework.boot.SpringApplication; |
| 9 | -import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | ||
| 10 | import org.springframework.boot.autoconfigure.SpringBootApplication; | 9 | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| 11 | -import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; | ||
| 12 | -import org.springframework.cloud.netflix.eureka.EnableEurekaClient; | 10 | +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; |
| 13 | import org.springframework.scheduling.annotation.EnableScheduling; | 11 | import org.springframework.scheduling.annotation.EnableScheduling; |
| 14 | import org.springframework.transaction.annotation.EnableTransactionManagement; | 12 | import org.springframework.transaction.annotation.EnableTransactionManagement; |
| 15 | 13 | ||
| 16 | @SpringBootApplication | 14 | @SpringBootApplication |
| 17 | @EnableScheduling | 15 | @EnableScheduling |
| 18 | -//@EnableEurekaClient | 16 | +@EnableDiscoveryClient |
| 19 | @EnableTransactionManagement | 17 | @EnableTransactionManagement |
| 20 | @MapperScan("com.tianbo.warehouse.dao") | 18 | @MapperScan("com.tianbo.warehouse.dao") |
| 21 | -public class WarehouseApplication { | 19 | +public class BootApplication { |
| 22 | 20 | ||
| 23 | public static void main(String[] args) { | 21 | public static void main(String[] args) { |
| 24 | - SpringApplication.run(WarehouseApplication.class, args); | 22 | + SpringApplication.run(BootApplication.class, args); |
| 25 | } | 23 | } |
| 26 | 24 | ||
| 27 | } | 25 | } |
src/main/resources/banner.txt
0 → 100644
| 1 | +${AnsiColor.YELLOW} | ||
| 2 | + ##################*CETC-TIANBO*######################### | ||
| 3 | + | ||
| 4 | + .::::. | ||
| 5 | + .::::::::. | ||
| 6 | + ::::::::::: | ||
| 7 | + ..:::::::::::' | ||
| 8 | + '::::::::::::' | ||
| 9 | + .:::::::::: | ||
| 10 | + '::::::::::::::.. | ||
| 11 | + ..::::::::::::. | ||
| 12 | + ``:::::::::::::::: | ||
| 13 | + ::::``:::::::::' .:::. | ||
| 14 | + ::::' ':::::' .::::::::. | ||
| 15 | + .::::' :::: .:::::::'::::. | ||
| 16 | + .:::' ::::: .:::::::::' ':::::. | ||
| 17 | + .::' :::::.:::::::::' ':::::. | ||
| 18 | + .::' ::::::::::::::' ``::::. | ||
| 19 | + ...::: ::::::::::::' ``::. | ||
| 20 | + ```` ':. ':::::::::' ::::.. | ||
| 21 | + '.:::::' ':'````.. | ||
| 22 | + ######################################################### | ||
| 23 | + | ||
| 24 | + | ||
| 25 | + | ||
| 26 | + | ||
| 27 | +================================================== | ||
| 28 | +Application Info:${application.title} | ||
| 29 | +ver:${application.version} | ||
| 30 | +Powered by:Spring Boot ${spring-boot.version} |
-
请 注册 或 登录 后发表评论