-
-
Notifications
You must be signed in to change notification settings - Fork 181
新增每日消费限额功能 #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
新增每日消费限额功能 #161
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4b3083b
[ImgBot] Optimize images
ImgBotApp 1e1f7f0
feat(rate-limit): add daily cost limit with configurable daily reset …
cto-new[bot] 687901d
chore: format code (feat-add-daily-limit-custom-reset-time-fix-provid…
github-actions[bot] 6b466b4
Optimize images
Silentely e4032aa
feat(rate-limit): add daily limit fields for keys/providers
cto-new[bot] 0350507
fix
Silentely fc62260
feat(rate-limit): 添加每日限额重置模式支持(固定时间与滚动窗口)
Silentely d5902f8
chore: format code (feat-add-daily-limit-custom-reset-time-fix-provid…
github-actions[bot] 7019056
fix(usage-doc): 删除重复的配置路径声明
Silentely 59a0326
feat: 实现日限额支持固定和滚动两种重置模式
Silentely 5668997
chore: format code (feat-add-daily-limit-custom-reset-time-fix-provid…
github-actions[bot] 2cc5cd1
Merge pull request #15 from Silentely/feat-add-daily-limit-custom-res…
Silentely 74a560f
fix: 修复每日成本限制重置时间显示问题
Silentely f7c5fe0
feat: 改进错误响应格式,提供更详细的限流和熔断错误信息
Silentely b8cda4e
fix: 修复provider选择器中的空指针异常
Silentely 9802f65
feat: 优化供应商错误处理和限流信息展示
Silentely 1aa44dc
delete(docs): 移除测试文件
Silentely 3a01c4b
chore: format code (dev-1aa44dc)
github-actions[bot] 3a935ab
Merge remote-tracking branch 'upstream/dev' into dev
Silentely 03fd0d2
chore: format code (dev-3a935ab)
github-actions[bot] ceea8ac
删除遗留测试文件
Silentely 404e2bf
切换到bun包管理
Silentely 0846883
fix: 重新排序数据库迁移文件避免与上游冲突
Silentely a8e3723
refactor: 合并每日成本限额相关的三个迁移文件为一个
Silentely 11863a0
Merge pull request #145 from Silentely/dev
ding113 fbaf436
fix: escape quotes in React component to fix ESLint error
f7898c7
Merge pull request #163 from ding113/claude-ci-fix-pr-161-19571550403
ding113 2fd3936
fix: add limitDailyUsd validation and dailyResetMode parameter support
ding113 048f1c2
feat: add dailyResetMode selector to edit key form
ding113 8cb5f32
fix: replace hardcoded error reasons with i18n translations
ding113 bf40d9b
feat: add dailyResetMode selector to edit key quota dialog
ding113 fc81515
refactor: improve type safety with PostgreSQL enum for daily_reset_mode
ding113 2f79d37
perf: add partial indexes for daily limit queries
ding113 bf8be15
docs: add comprehensive Redis key naming documentation
ding113 f9272f3
chore: format code (feat-daily-limit-bf8be15)
github-actions[bot] ced7c80
ci: trigger rebuild after format fix
claude a1524be
chore: minor punctuation fix in CLAUDE.md
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📚 优秀的文档实践
这段 Redis Key 命名规范文档非常详尽,包含了:
这对于后续的运维和故障排查至关重要。建议将这段文档也同步到项目的 Wiki 或专门的运维手册中,便于团队成员查阅。