## 新增功能 ### Gateway增强 (P0) - GlobalLogFilter: 全局日志过滤器,生成TraceId - JwtAuthFilter: JWT鉴权过滤器,白名单机制 - RateLimitConfig: 基于Redis的限流配置 ### 权限管理模块 (P1/P3) - A.1 用户管理: UserDTO/UserVO/UserService/UserController - A.2 角色管理: RoleDTO/RoleVO/RoleService/RoleController - A.3 菜单管理: MenuDTO/MenuVO/MenuService/MenuController - A.4 部门管理: DeptDTO/DeptVO/DeptService/DeptController ### 业务模块 (P1/P3) - B.1 fund-req用款申请: 完整审批流程 - B.2 fund-exp支出管理: 支付确认流程 - B.3 fund-receipt收款管理: 确认核销流程 ### 服务治理 (P1/P2) - D.1 Nacos服务注册: 所有服务集成Nacos - I.1 Redis缓存: RedisService/RedisConfig - E.1 ELK日志: logback-spring.xml JSON格式 ## 技术栈 - Spring Cloud Gateway 4.0.0 - Spring Cloud Alibaba 2023.0.0 - MyBatis-Plus 3.5.5 - JWT (jjwt 0.11.5) - Redis + Lettuce
74 lines
2.4 KiB
XML
74 lines
2.4 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>
|
|
|
|
<!-- JWT -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-api</artifactId>
|
|
<version>0.11.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
<version>0.11.5</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
<version>0.11.5</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- Redis for Rate Limiting -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|