## 新增服务模块 ### 1. ERP服务 (hzhub-erp) - 新增独立的ERP数据适配服务 - 支持SQL Server 2008 R2数据源 - 提供动态API配置管理系统 - 包含客户管理、销售数据等业务接口 ### 2. 系统服务 (hzhub-system) - 新增独立的系统管理服务 - 用户、角色、权限、部门、菜单管理 - 租户管理、操作日志、在线用户监控 - 工作流引擎(warm-flow)集成 - 企业微信审批同步功能 ### 3. API网关 (hzhub-gateway) - 新增Spring Cloud Gateway网关服务 - JWT认证、路由分发、限流熔断 - XSS防护、请求日志记录 - 统一入口端口8080 ## 后台管理功能增强 ### ERP动态API管理 - 新增动态API配置管理界面 - API测试、文档预览、统计监控 - 错误日志查看、缓存管理 - 从数据库表自动导入API配置 ### 系统管理增强 - 企业微信配置管理 - 企业微信审批同步配置 - 部门和用户管理优化 ## 员工门户功能完善 ### 业务页面 - 审批中心:工作流审批、待办任务 - CRM管理:客户关系管理 - 经销商管理:经销商数据展示 - 供应链管理:采购、库存、销售 - BI报表:数据可视化分析 - ERP数据探索:SQL Server数据查询 ### 个人中心 - 基本设置:个人信息管理 - 安全设置:密码修改、登录日志 - 锁屏功能:自动锁屏、手动锁屏 ### 其他功能 - 标签页管理:多标签页导航 - 页面缓存:keepAlive缓存机制 - 会话超时:自动检测并提示 ## 经销商门户 ### 页面路由 - 新增经销商管理页面路由 - AI聊天界面完善 ## 文档更新 - ERP API数据库初始化指南 - ERP API前端完整实现文档 - ERP API测试和验证指南 - Gateway路由迁移计划 - 项目配置文档更新 ## 部署脚本 - 统一启动/停止/重启脚本 - Docker Compose配置优化 - Nginx配置文件更新 ## 技术栈 - 后端: Spring Boot 3.5.8, Java 17 - 前端: Vue 3, TypeScript, Element Plus, Vben Admin - 工作流: warm-flow 1.8.2 - 网关: Spring Cloud Gateway - 数据库: MySQL 8.0, SQL Server 2008 R2 - 缓存: Redis 7 - 向量库: Weaviate 1.25.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
150 lines
5.1 KiB
XML
Executable File
150 lines
5.1 KiB
XML
Executable File
<?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>
|
|
<artifactId>hzhub-ai</artifactId>
|
|
<groupId>org.hzhub</groupId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>jar</packaging>
|
|
<artifactId>hzhub-admin</artifactId>
|
|
|
|
<description>
|
|
web服务入口
|
|
</description>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Mysql驱动包 -->
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
</dependency>
|
|
|
|
<!-- <!– mp支持的数据库均支持 只需要增加对应的jdbc依赖即可 –>-->
|
|
<!-- <!– Oracle –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.oracle.database.jdbc</groupId>-->
|
|
<!-- <artifactId>ojdbc8</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <!– 兼容oracle低版本 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.oracle.database.nls</groupId>-->
|
|
<!-- <artifactId>orai18n</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <!– PostgreSql –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.postgresql</groupId>-->
|
|
<!-- <artifactId>postgresql</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <!– SqlServer –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.microsoft.sqlserver</groupId>-->
|
|
<!-- <artifactId>mssql-jdbc</artifactId>-->
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>org.hzhub</groupId>
|
|
<artifactId>hzhub-common-doc</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hzhub</groupId>
|
|
<artifactId>hzhub-common-social</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hzhub</groupId>
|
|
<artifactId>hzhub-common-ratelimiter</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hzhub</groupId>
|
|
<artifactId>hzhub-common-mail</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hzhub</groupId>
|
|
<artifactId>hzhub-common-oss</artifactId>
|
|
</dependency>
|
|
|
|
<!-- hzhub-system / hzhub-workflow / hzhub-generator 已迁移至独立服务 -->
|
|
|
|
<dependency>
|
|
<groupId>org.hzhub</groupId>
|
|
<artifactId>hzhub-chat</artifactId>
|
|
</dependency>
|
|
|
|
<!-- AI流程编排模块 -->
|
|
<dependency>
|
|
<groupId>org.hzhub</groupId>
|
|
<artifactId>hzhub-aiflow</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- skywalking 整合 logback -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.skywalking</groupId>-->
|
|
<!-- <artifactId>apm-toolkit-logback-1.x</artifactId>-->
|
|
<!-- <version>${与你的agent探针版本保持一致}</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.skywalking</groupId>-->
|
|
<!-- <artifactId>apm-toolkit-trace</artifactId>-->
|
|
<!-- <version>${与你的agent探针版本保持一致}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${maven-jar-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>${maven-war-plugin.version}</version>
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<warName>${project.artifactId}</warName>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|