feat(project): 初始化 Spring Boot 项目结构

- 添加 .gitattributes 和 .gitignore 配置文件
- 配置 Maven Wrapper 脚本及属性文件
- 创建 Spring Boot 主应用类和测试类
- 添加 application.properties 配置文件
- 引入 Spring Boot starter 依赖及 Lombok 等工具库
- 配置 Maven 编译插件和 Spring Boot 插件
- 设置项目基本信息和 Java 版本为 17
- 添加开发工具依赖和 MySQL 连接器
- 配置 Lombok 注解处理器路径
- 创建基础的 REST 客户端测试依赖
This commit is contained in:
2025-12-18 15:13:23 +08:00
commit 7b9045a813
18 changed files with 1287 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package com.mtkj.mtpay;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MtPayApplication {
public static void main(String[] args) {
SpringApplication.run(MtPayApplication.class, args);
}
}

View File

@@ -0,0 +1 @@
spring.application.name=mt-pay