feat: 完善员工门户功能及ERP集成

主要修改:
- 完善员工门户CRM模块(经销商、线索管理)
- 添加ERP客户选择器集成
- 优化登录认证和租户选择
- 添加超时配置、企业微信集成等文档
- 更新docker-compose配置
- 将.pid临时文件加入gitignore

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
大壮
2026-05-22 09:46:54 +00:00
parent 5cb9e367df
commit 226f119607
65 changed files with 2988 additions and 831 deletions

View File

@@ -22,7 +22,7 @@ services:
container_name: hzhub-ai-mysql
restart: always
ports:
- "23306:3306"
- '23306:3306'
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: hzhub-ai-agent
@@ -30,7 +30,7 @@ services:
volumes:
- mysql-data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-proot"]
test: [CMD, mysqladmin, ping, -h, localhost, -u, root, -proot]
interval: 15s
timeout: 10s
retries: 10
@@ -44,12 +44,12 @@ services:
container_name: hzhub-ai-redis
restart: always
ports:
- "26379:6379"
- '26379:6379'
volumes:
- redis-data:/data
command: redis-server --appendonly yes
healthcheck:
test: ["CMD", "redis-cli", "ping"]
test: [CMD, redis-cli, ping]
interval: 10s
timeout: 5s
retries: 5
@@ -62,7 +62,7 @@ services:
container_name: hzhub-ai-weaviate
restart: always
ports:
- "28080:8080"
- '28080:8080'
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: true
@@ -81,8 +81,8 @@ services:
container_name: hzhub-ai-minio
restart: always
ports:
- "29000:9000"
- "29090:9090"
- '29000:9000'
- '29090:9090'
environment:
MINIO_ROOT_USER: ruoyi
MINIO_ROOT_PASSWORD: ruoyi123
@@ -98,7 +98,7 @@ services:
container_name: hzhub-ai-backend
restart: always
ports:
- "26039:6039"
- '26039:6039'
environment:
TZ: Asia/Shanghai
# MySQL 配置
@@ -132,7 +132,7 @@ services:
container_name: hzhub-ai-admin
restart: always
ports:
- "25666:5666"
- '25666:5666'
environment:
# 后端 API 地址 - 运行时动态配置(无需重新构建镜像)
# 在完整 docker-compose 中应设置为: http://backend:6039
@@ -158,7 +158,7 @@ services:
container_name: hzhub-ai-web
restart: always
ports:
- "25137:5137"
- '25137:5137'
environment:
UPSTREAM_URL: http://backend:6039
depends_on:
@@ -178,4 +178,4 @@ volumes:
weaviate-data:
minio-data:
logs-data:
upload-data:
upload-data: