Go to file
wsb1224 b8769d8d54 修复 token 统计不一致:统一扣费来源并支持分类查询
- chat_service: 文字聊天 ChatLog 改用独立会话保存,避免路由会话
  生命周期干扰导致记录丢失
- token_service: 分类查询改用 mode 字段精确匹配替代 conversation_id
  模糊匹配;总消耗直接读钱包数据与后台管理一致
- admin_router: 用户列表和详情新增文字/语音/通话分类 token 消耗

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-09 20:44:53 +08:00
.cursor/skills/commit-after-each-change
backend 修复 token 统计不一致:统一扣费来源并支持分类查询 2026-06-09 20:44:53 +08:00
docs
frontend 修复四个功能按钮互斥:打开历史面板时关闭输入面板 2026-06-09 20:34:45 +08:00
.env.example
.gitignore
.user.ini
create_admin_user.py
create_pet_avatars.py
create_tables.py
nginx_proxy_wentuu.com.conf
nginx_wentuu.com.conf
nginx.conf
patch.py
pet_companion.sql
test_patch.py
token_optimization_plan.md