Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 1 | package com.ruoyi; |
| 2 | |
| 3 | import org.springframework.boot.SpringApplication; |
| 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| 5 | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
| 6 | |
| 7 | /** |
| 8 | * 启动程序 |
| 9 | * |
| 10 | * @author ruoyi |
| 11 | */ |
| 12 | @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) |
Yumaoo | e96c254 | 2025-05-13 17:11:01 +0800 | [diff] [blame^] | 13 | public class RuoYiApplication { |
| 14 | public static void main(String[] args) { |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 15 | // System.setProperty("spring.devtools.restart.enabled", "false"); |
| 16 | SpringApplication.run(RuoYiApplication.class, args); |
| 17 | // ANSI escape code for blue text |
| 18 | String blue = "\u001B[34m"; |
| 19 | // ANSI escape code to reset text color |
| 20 | String reset = "\u001B[0m"; |
| 21 | |
Yumaoo | 877388f | 2025-04-10 23:34:09 +0800 | [diff] [blame] | 22 | System.out.println(blue + " ----贾仁翔 喵喵喵" + reset); |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 23 | } |
| 24 | } |