Files
JayuCloud/docx/handoff/CURRENT-STATE.md
T

65 lines
3.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Current State
更新时间:2026-06-24
用途:记录当前仓库、配置、对象存储和部署准备状态。继续开发、部署或交接前先读本文件。
## 1. 仓库状态
- 工作目录:`D:\code\FingertipDesigner`。
- 当前分支:`dev`。
- 最新提交:`b1117325 统一项目命名并接回MinIO三副本存储`。
- 该提交前已执行 GitNexus `detect_changes(scope="all")`,结果为 `risk_level=low`,无 affected processes。
- 提交后工作区曾确认干净;本次只更新 `docx/handoff` 文档,尚未提交。
## 2. 命名状态
- 当前项目统一使用 `FingertipDesigner` / `fingertip-designer` 命名。
- Core Java 包名:`com.xiaowang.fingertipdesigner.core`。
- Gateway Java 包名:`com.xiaowang.fingertipdesigner.gateway`。
- 初始化 SQL:`scripts/sql/init/FingertipDesigner.sql`。
- 旧名迁移 SQL:`scripts/sql/migrations/统一项目命名为FingertipDesigner_20260623.sql`。
- 本地敏感 Excel 已通过 `.gitignore` 忽略,不进入提交:`docx/服务器信息.xlsx`、`docx/生产服务器信息.xlsx`。
## 3. 对象存储状态
- 对象存储已按三副本方向接回:`MINIO -> QINIU_KODO -> ALIYUN_OSS`。
- 开发 MinIO:`http://192.168.5.15:9000`,Console:`http://192.168.5.15:9001`。
- 开发 bucket:`fingertipdesigner`。
- 已完成开发环境冒烟:上传优先落 MinIO,签名 URL 返回 MinIO 地址,临时数据库记录已清理。
- 新增迁移 SQL:`scripts/sql/migrations/接回MinIO三副本对象存储_20260624.sql`。
- 新增配置说明:`scripts/接回MinIO三副本对象存储配置说明_20260624.md`。
## 4. Nacos 与配置状态
- 开发 Nacos 地址:`192.168.5.103:8848`。
- 开发 namespace:`FingertipDesigner-Dev`。
- 生产 namespace:`FingertipDesigner`。
- 本地 `application.yaml` / `bootstrap.yaml` 只保留连接 Nacos 的必要默认值和占位。
- MySQL、Redis、RabbitMQ、JWT、微信、MinIO、七牛、阿里云等敏感配置应放在 Nacos,不写入仓库。
- 开发环境旧的非 Dev 命名空间用法已清理。
## 5. 关键子系统
- `FD-Core`:Spring Boot Core 后端,提供业务接口、文件上传、对象存储编排、数据库访问。
- `FD-Gateway`:统一 API 入口,负责路由、白名单、Token 初筛和转发。
- `FD-Frontend`:Vue Web 用户端和后台管理端。
- `FD-WeChat-Fronted`:普通用户微信小程序。
- `FM-Wechat-Fronted`:指尖管理师小程序。
- `scripts`:部署、配置说明、初始化 SQL 和迁移 SQL。
- `docx`:项目说明、设计、交接和测试资料。
## 6. 最近验证
- MinIO 连通性验证通过:`192.168.5.15:9000/minio/health/live` 返回 200。
- 开发 bucket `fingertipdesigner` 已创建。
- Core/Gateway 开发环境冒烟中完成过文件上传和签名 URL 下载验证。
- 提交前执行过 GitNexus `detect_changes(scope="all")`。
- 本次文档更新未重新执行 Maven、前端构建或小程序自动化。
## 7. 下一步建议
- 若继续部署:先拉取 Nacos `FingertipDesigner-Dev` / `FingertipDesigner` 的 `core.yaml`、`gateway.yaml`、`infra.yaml`、`secret.yaml`、`logging.yaml` 做环境差异核对。
- 若继续对象存储:优先补充三家 Provider 的失败重试、后台补副本和签名 URL 选择链路测试。
- 若准备提交本文档更新:提交前再次执行 GitNexus `detect_changes(scope="all")`。