本次提交包含: 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版本兼容性
49 lines
1.6 KiB
XML
49 lines
1.6 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-gateway</artifactId>
|
|
<name>fund-gateway</name>
|
|
<description>API Gateway Service</description>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.fundplatform</groupId>
|
|
<artifactId>fund-common</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<exclusions>
|
|
<!-- Gateway 不能与 spring-boot-starter-web 共存 -->
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- Spring Cloud Gateway -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|
<version>4.0.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|