Skip to content

Commit 4cdf135

Browse files
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

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

backend/cmd/server/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.29
1+
1.0.32

backend/cmd/server/wire_gen.go

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/cmd/server/wire_gen_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ func TestProvideCleanup_WithMinimalDependencies_NoPanic(t *testing.T) {
6262
nil, // groupRateSchedule
6363
tokenRefreshSvc,
6464
accountExpirySvc,
65+
nil, // accountErrorCleanup
6566
subscriptionExpirySvc,
6667
subsiteMaintenanceSvc,
6768
&service.UsageCleanupService{},

backend/ent/client.go

Lines changed: 34 additions & 478 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)