
kate522andClaude Opus 5
1c95f94bca
refactor(admin): drop the SPA credits asset record browser
「用户近期资产记录」卡片在 SPA 积分配置页里按用户 ID + 资产类型 +
日期查 user meta 历史,再伪装成统一账本行(entries / operation_key /
ref_key)。SPA 只承载配置,运营记录归原生 用户 → 积分/余额 屏幕
(CreditsAdmin / BalanceAdmin),这条平行路径删除,不留双读或迁移。
- CmsCredits.vue: 移除卡片、表格、分页及 ledger* 状态与
formatAssetValue/loadLedger/searchLedger/resetLedger
- users.js: 删除仅服务该卡片的 getCreditLog()
- UserController: 删除 /assets/transactions 路由、rest_get_credits_log()
及其唯一调用方 asset_value_to_minor()
- 契约测试改为断言该能力不得回归
points_record / balance_record 本身保留,前端账本与原生后台仍在消费。
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-11-01 14:20:07 +08:00
..
2026-11-01 14:20:07 +08:00
2026-10-13 19:32:34 +08:00
2026-10-30 21:57:46 +08:00
2026-10-17 14:54:10 +08:00
2026-10-29 14:01:28 +08:00
2026-10-31 17:28:45 +08:00
2026-10-29 17:06:25 +08:00
2026-10-13 21:01:03 +08:00
2026-10-05 16:42:25 +08:00
2026-10-29 23:07:08 +08:00
2026-09-06 16:28:07 +08:00
2026-10-30 20:05:21 +08:00
2026-10-18 13:44:01 +08:00
2026-10-31 14:18:01 +08:00
2026-11-01 00:22:44 +08:00
2026-10-31 00:57:13 +08:00
2026-10-06 09:26:55 +08:00
2026-10-31 11:25:56 +08:00
2026-10-30 20:38:00 +08:00
2026-10-31 14:18:01 +08:00