Commit Graph

18 Commits

Author SHA1 Message Date
shaw
496569d110 修复仪表板折线图时间范围计算错误(UTC+8时区) 2025-07-30 10:34:20 +08:00
shaw
43dce7db4e 合并 main 分支到 dev 分支 2025-07-30 10:18:35 +08:00
shaw
d2ac3961e8 Merge remote-tracking branch 'origin/main' into main 2025-07-30 10:17:25 +08:00
github-actions[bot]
dae8e8e914 chore: sync VERSION file with release v1.1.51 and rebuild frontend [skip ci] 2025-07-30 02:12:10 +00:00
shaw
4c64e6df4b fix(timezone): 修复数据写入时的时区错误(关键修复)
- 修复 redis.js 中所有时区相关的日期获取方法
  - 使用 getUTC* 方法替代 get* 方法获取正确的时区日期
  - 影响:incrementTokenUsage, incrementAccountUsage, incrementDailyCost 等
- 修复 admin.js 中查询数据时的日期键生成
- 确保所有 Redis 键格式一致:
  - 日期:YYYY-MM-DD
  - 月份:YYYY-MM
  - 小时:YYYY-MM-DD:HH
- 添加服务端时间标签,避免前端时区转换问题

这是核心修复,确保数据从源头就是正确的。
2025-07-30 10:07:25 +08:00
shaw
53d6f77753 fix(admin-spa): 修复使用趋势图表按小时粒度不显示数据的问题 2025-07-30 08:55:07 +08:00
KevinLiao
98eef591d7 feat: 新增标准Claude Console API 账号支持(WEB) 2025-07-30 08:21:50 +08:00
github-actions[bot]
864c7c76e6 chore: sync VERSION file with release v1.1.49 and rebuild frontend [skip ci] 2025-07-29 11:22:36 +00:00
shaw
d761e89925 fix(admin-spa): 替换原生确认弹窗为自定义弹窗并修复按钮样式
- 替换API Key删除确认弹窗为自定义ConfirmDialog组件
- 替换API Key创建成功后关闭确认弹窗为自定义弹窗
- 修复'我已保存'按钮样式,增加背景色对比度和边框
- 添加降级方案以确保兼容性
2025-07-29 19:21:01 +08:00
github-actions[bot]
96520bca57 chore: sync VERSION file with release v1.1.48 and rebuild frontend [skip ci] 2025-07-29 10:37:16 +00:00
shaw
eff796ed8e fix(admin-spa): 修复API Key创建成功后的弹窗显示问题
- 完全复刻原版的API Key成功弹窗样式
- 修复API Key字段读取问题,支持apiKey和key两种字段名
- 添加完整的显示/隐藏功能,默认隐藏API Key内容
- 实现与原版一致的警告提示和关闭确认
- 优化复制功能,添加降级方案
2025-07-29 18:36:35 +08:00
github-actions[bot]
7a9e04f169 chore: sync VERSION file with release v1.1.47 and rebuild frontend [skip ci] 2025-07-29 09:06:30 +00:00
github-actions[bot]
514d2f5377 chore: sync VERSION file with release v1.1.46 and rebuild frontend [skip ci] 2025-07-29 08:38:31 +00:00
github-actions[bot]
31ccf48b00 chore: sync VERSION file with release v1.1.45 and rebuild frontend [skip ci] 2025-07-29 08:14:59 +00:00
github-actions[bot]
f23b9bd222 chore: sync VERSION file with release v1.1.44 and rebuild frontend [skip ci] 2025-07-29 07:50:00 +00:00
shaw
ff6a361720 fix(admin-spa): 完善账户管理代理信息显示功能
- 修复账户列表中代理信息显示,支持用户名密码部分隐藏
- 修复编辑账户时自动勾选代理设置并正确显示代理信息
- 改进代理密码输入框使用密码类型
- 将 admin-spa/dist 目录加入 .gitignore 并从版本控制中移除

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 15:49:15 +08:00
github-actions[bot]
5795e8cdef chore: sync VERSION file with release v1.1.43 and rebuild frontend [skip ci] 2025-07-29 07:12:23 +00:00
github-actions[bot]
5a6740cce7 chore: sync VERSION file with release v1.1.42 and rebuild frontend [skip ci] 2025-07-29 06:23:07 +00:00