feat(fsgx): 完成全部24项开发任务 Phase1-7

Phase1 后端核心:
- 新增 fsgx_v1.sql 迁移脚本(is_queue_goods/frozen_points/available_points/no_assess)
- SystemConfigServices 返佣设置扩展(周期人数/分档比例/范围/时机)
- StoreOrderCreateServices 周期循环佣金计算
- StoreOrderTakeServices 佣金发放后同步冻结积分
- StoreProductServices/StoreProduct 保存 is_queue_goods

Phase2 后端接口:
- GET /api/hjf/brokerage/progress 佣金周期进度
- GET /api/hjf/assets/overview 资产总览
- HjfPointsServices 每日 frozen_points 0.4‰ 释放定时任务
- PUT /adminapi/hjf/member/{uid}/no_assess 不考核接口
- GET /adminapi/hjf/points/release_log 积分日志接口

Phase3 前端清理:
- hjfCustom.js 路由精简(仅保留 points/log)
- hjfQueue.js/hjfMember.js API 清理/重定向至 CRMEB 原生接口
- pages.json 公排→推荐佣金/佣金记录/佣金规则

Phase4-5 前端改造:
- queue/status.vue 推荐佣金进度页整体重写
- 商品详情/订单确认/支付结果页文案与逻辑改造
- 个人中心/资产页/引导页/规则页文案改造
- HjfQueueProgress/HjfRefundNotice/HjfAssetCard 组件改造
- 推广中心嵌入佣金进度摘要
- hjfMockData.js 全量更新(公排字段→佣金字段)

Phase6 Admin 增强:
- 用户列表新增 frozen_points/available_points 列及不考核操作按钮
- hjfPoints.js USE_MOCK=false 对接真实积分日志接口

Phase7 配置文档:
- docs/fsgx-phase7-config-checklist.md 后台配置与全链路验收清单

Made-with: Cursor
This commit is contained in:
apple
2026-03-23 22:32:19 +08:00
parent 788ee0c0c0
commit 434aa8c69d
13098 changed files with 2008990 additions and 961 deletions

View File

@@ -0,0 +1,66 @@
# Conversation - 2026-03-10 20:39:11
## Prompt
修改 UniApp 路由配置文件 view/uniapp/pages.json注册新的公排/资产/引导页面
需要注册的页面路径:
- pages/queue/status -> 公排状态
- pages/queue/history -> 公排历史
- pages/queue/rules -> 公排规则
- pages/assets/index -> 我的资产
- pages/assets/points_detail -> 积分明细
- pages/guide/hjf_intro -> 新手指南
参考现有页面路径格式,使用 launch 页面作为引导页
## Response
[SYSTEM:init] Session: 9dac3634-ce35-499c-befe-c92e1e3c0662
Model: Claude 4.6 Sonnet
CWD: /Users/apple/scott2026/huangjingfen/pro_v3.5.1
Permission: default
[USER] 修改 UniApp 路由配置文件 view/uniapp/pages.json注册新的公排/资产/引导页面
需要注册的页面路径:
- pages/queue/status -> 公排状态
- pages/queue/history -> 公排历史
- pages/queue/rules -> 公排规则
- pages/assets/index -> 我的资产
- pages/assets/points_detail -> 积分明细
- pages/guide/hjf_intro -> 新手指南
参考现有页面路径格式,使用 launch 页面作为引导页
[ASSISTANT] Let me read the current `pages.json` file first.
[TOOL_CALL:started] 📖 Tool #1: Reading /Users/apple/scott2026/huangjingfen/pro_v3.5.1/view/uniapp/pages.json
[TOOL_CALL:completed] ✓ Read 2165 lines
[ASSISTANT] The file already contains all6 pages registered (lines 81-136). They were added by previous sessionrations are:
- `pages/queue/status/index` —公排状态 81)
- `pages/queue/history/index` — 公排历史 (line 88rules/index` — 公排规则 (line 99)
- `pages/assets/index` — 我的资产 (line 110/points_detail/index` — 积分明细 (line 117)
- `pages/guide/hjintro/index` — 新手指南 (line 128)
All6 pages are already registered inpages.json`. No changes are needed — session already completed this work.
Note that the paths in the file use anindex` suffix (e.g. rather than `pages/queue/status`), which is the standard UniApp convention for directorybased pages.The file already contains all 6 pages registered (lines 81-136). They were added by a previous session. The registrations are:
- `pages/queue/status/index` — 公排状态 (line 81)
- `pages/queue/history/index` — 公排历史 (line 88)
- `pages/queue/rules/index` — 公排规则 (line 99)
- `pages/assets/index` — 我的资产 (line 110)
- `pages/assets/points_detail/index` — 积分明细 (line 117)
- `pages/guide/hjf_intro/index` — 新手指南 (line 128)
All 6 pages are already registered in `pages.json`. No changes are needed — a previous session already completed this work.
Note that the paths in the file use an `index` suffix (e.g. `pages/queue/status/index` rather than `pages/queue/status`), which is the standard UniApp convention for directory-based pages.
[RESULT] 🎯 Completed in 15.2s | 📊 Stats: 1 tools, 1399 chars generated