本次提交包含: 1. 11个Maven模块全部创建并编译通过 2. 4个数据库初始化脚本(14张表) 3. fund-sys服务启动验证 4. Gateway路由配置完成 5. API端到端测试通过 核心能力: - 多租户数据隔离(MyBatis-Plus) - JWT认证+BCrypt密码 - 统一返回结构 - 参数校验 - OpenFeign示例 - API网关统一入口 修复: - MyBatis-Plus与Spring Boot 3兼容性问题 - BaseEntity字段类型统一(Long) - Gateway版本兼容性
43 lines
1.5 KiB
XML
43 lines
1.5 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<parent>
|
||
<groupId>com.fundplatform</groupId>
|
||
<artifactId>fundplatform</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
</parent>
|
||
|
||
<artifactId>fund-common</artifactId>
|
||
<name>fund-common</name>
|
||
<description>Fund Platform Common Module</description>
|
||
|
||
<dependencies>
|
||
<!-- Spring Web & Validation,用于全局异常处理和参数校验 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Feign Core,用于定义 Feign 请求拦截器 -->
|
||
<dependency>
|
||
<groupId>io.github.openfeign</groupId>
|
||
<artifactId>feign-core</artifactId>
|
||
<version>12.5</version>
|
||
</dependency>
|
||
|
||
<!-- 日志 API,用于 TraceId 等写入 MDC -->
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-api</artifactId>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
</project>
|