Files
JayuCloud/docx/handoff/PROJECT-MAP.md
T

102 lines
2.9 KiB
Markdown
Raw Normal View History

2026-06-05 12:52:38 +08:00
# Project Map
用途:按子系统定位入口、边界和常用文件。本文只记录当前有效边界,不替代源码。
2026-06-05 12:52:38 +08:00
## FD-Core
2026-06-05 12:52:38 +08:00
职责:核心业务后端,使用 Spring Boot 2.7.18、MyBatis-Plus、Redis、RabbitMQ、Nacos 和对象存储编排。
2026-06-05 12:52:38 +08:00
关键入口:
- `FD-Core/src/main/java/com/xiaowang/fingertipdesigner/core/FingertipDesignerCoreApplication.java`
- `FD-Core/src/main/java/com/xiaowang/fingertipdesigner/core/modules`
- `FD-Core/src/main/java/com/xiaowang/fingertipdesigner/core/config`
2026-06-24 16:13:49 +08:00
- `FD-Core/src/main/resources/application.yaml`
- `FD-Core/src/main/resources/bootstrap.yaml`
2026-06-05 12:52:38 +08:00
边界:
- 新业务优先放入现有 `modules.<module>`。
- Gateway 不承载业务写逻辑。
- 数据库空库基线以 `scripts/sql/init/FingertipDesigner.sql` 为准。
2026-06-05 12:52:38 +08:00
## FD-Gateway
2026-06-05 12:52:38 +08:00
2026-06-24 16:13:49 +08:00
职责:统一 API 入口,处理 `/api/**` 路由、管理端路由、白名单和 Token 初筛。
2026-06-05 12:52:38 +08:00
关键入口:
- `FD-Gateway/src/main/java/com/xiaowang/fingertipdesigner/gateway/FingertipDesignerGatewayApplication.java`
- `FD-Gateway/src/main/java/com/xiaowang/fingertipdesigner/gateway/filter/AuthGlobalFilter.java`
- `FD-Gateway/src/main/resources/bootstrap.yaml`
2026-06-24 16:13:49 +08:00
- Nacos `FingertipDesigner-Dev` / `gateway.yaml`
2026-06-05 12:52:38 +08:00
2026-06-24 16:13:49 +08:00
## FD-Frontend
2026-06-05 12:52:38 +08:00
职责:Vue 3 Web 用户端和后台管理端。
关键入口:
2026-06-24 16:13:49 +08:00
- `FD-Frontend/src/main.ts`
- `FD-Frontend/src/router`
- `FD-Frontend/src/api`
- `FD-Frontend/src/views`
2026-06-05 12:52:38 +08:00
2026-06-24 16:13:49 +08:00
## FD-WeChat-Fronted
2026-06-05 12:52:38 +08:00
2026-06-24 16:13:49 +08:00
职责:普通用户微信小程序,覆盖浏览、收藏、购物车、下单、订单、评价和个人中心链路。
2026-06-05 12:52:38 +08:00
关键入口:
2026-06-24 16:13:49 +08:00
- `FD-WeChat-Fronted/app.json`
- `FD-WeChat-Fronted/pages`
- `FD-WeChat-Fronted/api`
- `FD-WeChat-Fronted/utils`
2026-06-05 12:52:38 +08:00
2026-06-24 16:13:49 +08:00
## FM-Wechat-Fronted
2026-06-05 12:52:38 +08:00
2026-06-24 16:13:49 +08:00
职责:指尖管理师小程序,覆盖移动工作台、规划、客户、员工、排班、请假和设置等管理场景。
2026-06-05 12:52:38 +08:00
关键入口:
2026-06-24 16:13:49 +08:00
- `FM-Wechat-Fronted/app.json`
- `FM-Wechat-Fronted/pages`
- `FM-Wechat-Fronted/api`
- `FM-Wechat-Fronted/utils`
- `FM-Wechat-Fronted/project.config.json`
2026-06-05 12:52:38 +08:00
边界:
2026-06-24 16:13:49 +08:00
- 生产管理端 API 基址走 `https://yunail.art/api/admin`。
- 本地开发配置通过 `utils/config.local.js`,该文件不进入 Git。
2026-06-05 12:52:38 +08:00
2026-06-24 16:13:49 +08:00
## scripts
2026-06-05 12:52:38 +08:00
职责:部署脚本、配置说明和 SQL 基线。
2026-06-05 12:52:38 +08:00
关键入口:
- `scripts/sql/init/FingertipDesigner.sql`
2026-06-24 16:13:49 +08:00
- `scripts/deploy-fingertip-designer-production.ps1`
- `scripts/package-release.ps1`
2026-06-05 12:52:38 +08:00
边界:
- `scripts/sql/init/FingertipDesigner.sql` 是唯一初始化 SQL。
- `scripts/sql/migrations` 当前不保留历史迁移 SQL。
- 生产已部署库升级不直接复用初始化 SQL,必须单独制定迁移方案。
2026-06-05 12:52:38 +08:00
## docx
2026-06-24 16:13:49 +08:00
职责:项目说明、设计、测试案例和交接资料。
2026-06-05 12:52:38 +08:00
关键入口:
2026-06-24 16:13:49 +08:00
- `docx/README.md`
- `docx/core-module-index.md`
- `docx/design/上线初始化SQL基线说明_20260624.md`
2026-06-05 12:52:38 +08:00
- `docx/handoff/HANDOFF-BOOT.md`
2026-06-24 16:13:49 +08:00
- `docx/handoff/CURRENT-STATE.md`
- `docx/handoff/PROJECT-MAP.md`
- `docx/testing`