This commit is contained in:
oneao committed 2025-06-24 17:31:16 +08:00
1 parent 60c02402b9
commit 330c4d09fa
22 files changed
+485 -1

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.crane</groupId>
<artifactId>crane-api</artifactId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>crane-boot</artifactId>
<packaging>jar</packaging>
<description>
主项目启动类
</description>
<dependencies>
<dependency>
<groupId>com.crane</groupId>
<artifactId>crane-common</artifactId>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,12 @@
package com.crane.boot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CraneBootApplication {
public static void main(String[] args) {
SpringApplication.run(CraneBootApplication.class, args);
System.out.println("CraneBoot项目启动成功 ლ(´ڡ`ლ)゙");
}
}
@@ -0,0 +1,4 @@
server:
port: 8080
tomcat:
uri-encoding: UTF-8