完成JC-ArtList与JC-Salon端侧清理和统一命名

This commit is contained in:
2026-08-25 16:21:05 +08:00
parent aa93695704
commit abce4a2787
1839 changed files with 653 additions and 50415 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ vo
Mapper 扫描位于:
```text
FD-Core/src/main/java/com/xiaowang/fingertipdesigner/core/config/MyBatisPlusConfig.java
JC-ArtList-Core/src/main/java/com/xiaowang/fingertipdesigner/core/config/MyBatisPlusConfig.java
```
新增模块或 mapper 包时,确认 `@MapperScan` 覆盖。
+5 -5
View File
@@ -38,11 +38,11 @@
## 关键子系统
- `FD-Core`:Spring Boot Core 后端,提供业务接口、文件上传、对象存储编排和数据库访问。
- `FD-Gateway`:统一 API 入口,负责路由、白名单、Token 初筛和转发。
- `FD-Frontend`:Vue Web 用户端和后台管理端。
- `FD-WeChat-Fronted`:普通用户微信小程序。
- `FM-Wechat-Fronted`:指尖管理师小程序。
- `JC-ArtList-Core`:Spring Boot Core 后端,提供业务接口、文件上传、对象存储编排和数据库访问。
- `JC-ArtList-Gateway`:统一 API 入口,负责路由、白名单、Token 初筛和转发。
- `JC-ArtList-Frontend`:Vue Web 用户端和后台管理端。
- `JC-ArtList-WeChat`:普通用户微信小程序。
- `JC-Salon-WeChat`:指尖管理师小程序。
- `scripts`:部署脚本、配置说明、`0.0.1` 初始化 SQL 基线和后续版本变更 SQL。
- `docx`:项目说明、设计、交接和测试资料。
+3 -3
View File
@@ -23,12 +23,12 @@
```powershell
rtk git --no-pager diff --check
rtk mvn -f FD-Core/pom.xml test
rtk mvn -f FD-Gateway/pom.xml test
rtk mvn -f JC-ArtList-Core/pom.xml test
rtk mvn -f JC-ArtList-Gateway/pom.xml test
```
小程序静态语法检查可使用:
```powershell
rtk node -e "const fs=require('fs');const path=require('path');let n=0;function walk(d){for(const e of fs.readdirSync(d,{withFileTypes:true})){const p=path.join(d,e.name);if(e.isDirectory())walk(p);else if(e.isFile()&&p.endsWith('.js')){new Function(fs.readFileSync(p,'utf8'));n++;}}}['FM-Wechat-Fronted/api','FM-Wechat-Fronted/utils','FM-Wechat-Fronted/pages'].forEach(walk);console.log('checked '+n+' js files')"
rtk node -e "const fs=require('fs');const path=require('path');let n=0;function walk(d){for(const e of fs.readdirSync(d,{withFileTypes:true})){const p=path.join(d,e.name);if(e.isDirectory())walk(p);else if(e.isFile()&&p.endsWith('.js')){new Function(fs.readFileSync(p,'utf8'));n++;}}}['JC-Salon-WeChat/api','JC-Salon-WeChat/utils','JC-Salon-WeChat/pages'].forEach(walk);console.log('checked '+n+' js files')"
```
+26 -26
View File
@@ -2,17 +2,17 @@
用途:按子系统定位入口、边界和常用文件。本文只记录当前有效边界,不替代源码。
## FD-Core
## JC-ArtList-Core
职责:核心业务后端,使用 Spring Boot 2.7.18、MyBatis-Plus、Redis、RabbitMQ、Nacos 和对象存储编排。
关键入口:
- `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`
- `FD-Core/src/main/resources/application.yaml`
- `FD-Core/src/main/resources/bootstrap.yaml`
- `JC-ArtList-Core/src/main/java/com/xiaowang/fingertipdesigner/core/FingertipDesignerCoreApplication.java`
- `JC-ArtList-Core/src/main/java/com/xiaowang/fingertipdesigner/core/modules`
- `JC-ArtList-Core/src/main/java/com/xiaowang/fingertipdesigner/core/config`
- `JC-ArtList-Core/src/main/resources/application.yaml`
- `JC-ArtList-Core/src/main/resources/bootstrap.yaml`
边界:
@@ -20,50 +20,50 @@
- Gateway 不承载业务写逻辑。
- 数据库空库基线以 `scripts/sql/init/FingertipDesigner.sql` 的 `0.0.1` 冻结版本为准,后续数据库变更走 `scripts/sql/migrations/`。
## FD-Gateway
## JC-ArtList-Gateway
职责:统一 API 入口,处理 `/api/**` 路由、管理端路由、白名单和 Token 初筛。
关键入口:
- `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`
- `JC-ArtList-Gateway/src/main/java/com/xiaowang/fingertipdesigner/gateway/FingertipDesignerGatewayApplication.java`
- `JC-ArtList-Gateway/src/main/java/com/xiaowang/fingertipdesigner/gateway/filter/AuthGlobalFilter.java`
- `JC-ArtList-Gateway/src/main/resources/bootstrap.yaml`
- Nacos `FingertipDesigner-Dev` / `gateway.yaml`
## FD-Frontend
## JC-ArtList-Frontend
职责:Vue 3 Web 用户端和后台管理端。
关键入口:
- `FD-Frontend/src/main.ts`
- `FD-Frontend/src/router`
- `FD-Frontend/src/api`
- `FD-Frontend/src/views`
- `JC-ArtList-Frontend/src/main.ts`
- `JC-ArtList-Frontend/src/router`
- `JC-ArtList-Frontend/src/api`
- `JC-ArtList-Frontend/src/views`
## FD-WeChat-Fronted
## JC-ArtList-WeChat
职责:普通用户微信小程序,覆盖浏览、收藏、购物车、下单、订单、评价和个人中心链路。
关键入口:
- `FD-WeChat-Fronted/app.json`
- `FD-WeChat-Fronted/pages`
- `FD-WeChat-Fronted/api`
- `FD-WeChat-Fronted/utils`
- `JC-ArtList-WeChat/app.json`
- `JC-ArtList-WeChat/pages`
- `JC-ArtList-WeChat/api`
- `JC-ArtList-WeChat/utils`
## FM-Wechat-Fronted
## JC-Salon-WeChat
职责:指尖管理师小程序,覆盖移动工作台、规划、客户、员工、排班、请假和设置等管理场景。
关键入口:
- `FM-Wechat-Fronted/app.json`
- `FM-Wechat-Fronted/pages`
- `FM-Wechat-Fronted/api`
- `FM-Wechat-Fronted/utils`
- `FM-Wechat-Fronted/project.config.json`
- `JC-Salon-WeChat/app.json`
- `JC-Salon-WeChat/pages`
- `JC-Salon-WeChat/api`
- `JC-Salon-WeChat/utils`
- `JC-Salon-WeChat/project.config.json`
边界:
+2 -2
View File
@@ -16,7 +16,7 @@
2. 用 `rg` 或 GitNexus query 定位模块。
3. 修改 symbol 前做 GitNexus upstream impact。
4. 按模块局部结构改 controller/service/dto/vo/mapper/entity。
5. 跑相关测试或 `rtk mvn -f FD-Core/pom.xml -DskipTests compile`。
5. 跑相关测试或 `rtk mvn -f JC-ArtList-Core/pom.xml -DskipTests compile`。
6. 提交前跑 GitNexus detect_changes。
容易漏:
@@ -53,7 +53,7 @@
步骤:
1. 优先检查规划、客户、员工、我的四个 Tab。
2. 核对 `FM-Wechat-Fronted/api` 与 Gateway/Core 路径契约。
2. 核对 `JC-Salon-WeChat/api` 与 Gateway/Core 路径契约。
3. 生产请求必须走 `/api/admin/**`。
4. JS 改动后跑 node 语法检查。