feat: gravity transaction logging + user-facing history popup
- New GravityTransaction schema tracks all gravity changes (registration, interview/optimize/download deduction, purchase, monthly topup, migration) - GravityTopUpService: bulk log for monthly VIP topup - PaymentController.activateMembership: log plan_set transactions - QuotaService: add logTransaction, wire into all gravity-modifying methods - UserService: log registration grants (phone/wx/email/password) - GET /user/gravity-transactions?page=&limit= API - Frontend: user.vue '明细' button + paginated popup - Docs: update PROJECT-STATUS v4.10, FEATURE-LIST, DEPLOYMENT
This commit is contained in:
+3
-2
@@ -1,6 +1,6 @@
|
||||
# 职引 - 部署文档
|
||||
|
||||
> **最后更新**: 2026-06-21
|
||||
> **最后更新**: 2026-07-04
|
||||
> **生产环境**: 已部署(服务器已购 + 域名已配)
|
||||
|
||||
## 目录
|
||||
@@ -227,7 +227,7 @@ node scripts/upload-mp.js
|
||||
```
|
||||
|
||||
### 版本号
|
||||
当前线上版本:**1.0.17**(git tag v1.0.16,脚本自动末位自增 → 上传版本 1.0.17)
|
||||
当前线上版本:**1.0.21**(git tag v1.0.20,脚本自动末位自增 → 上传版本 1.0.21)
|
||||
|
||||
---
|
||||
|
||||
@@ -255,3 +255,4 @@ node scripts/upload-mp.js
|
||||
| 2026-06-09 | 更新生产域名:zhiyinwx.yzrcloud.cn(API :3006)、zhiyin.yzrcloud.cn(H5 静态目录) | 小之 |
|
||||
| 2026-06-21 | 更新部署版本至 v1.0.16;小程序上传工具使用 git tag 自动获取版本号 | 小之 |
|
||||
| 2026-06-21 | v4.8 SEO + 分享全面优化:部署新增 robots.txt、sitemap.xml、static/ 目录;版本号自动注入(Vite define);13 页面微信分享全部开启;上传脚本版本号末位自增 1 | AI |
|
||||
| 2026-07-04 | v4.10 引力值变动记录系统 + 前端 401/错误处理完善;v1.0.21 发布;H5 + 小程序全量部署 | AI |
|
||||
|
||||
Reference in New Issue
Block a user