Commit 4cdf135
committed
feat(pixel): 完善账号调度、收益管理与对话清理
主要变更:
- 增强 OpenAI/AI Studio 透传、流式校验与模型兼容处理
- 完善账号配额、错误清理、代理账号上限和组织身份唯一性
- 新增收益分成结算导出能力与管理端页面/接口支持
- 移除旧版 Ent conversations 表模型,并新增对应迁移清理遗留表
- 更新中英文文案、管理端账号/代理/收益/对话相关界面
安全检查:
- origin 已确认指向 https://github.com/PIXEL-API/PixelAPI.git
- staged 文件未包含 .env、backend/data、本地配置、日志、发布包、pprof 或私钥证书
- 敏感形态扫描仅命中字段名、环境变量占位符和界面文案,未发现真实密钥值
验证:
- 已执行 git diff --check,仅存在 VERSION 换行格式提示1 parent a731e8b commit 4cdf135
126 files changed
Lines changed: 5541 additions & 16009 deletions
File tree
- backend
- cmd/server
- ent
- conversationmessage
- conversation
- hook
- intercept
- migrate
- predicate
- proxy
- runtime
- schema
- user
- internal
- handler
- admin
- dto
- pkg
- apicompat
- openai
- usagestats
- repository
- server/routes
- service
- setup
- migrations
- frontend/src
- api
- admin
- components
- account
- admin
- account
- revenue
- layout
- i18n/locales
- stores
- types
- views
- admin
- user
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments