feat(admin): 资源与策略 - 后台统一维护账号配额与运行时请求限制 (#37)

Fixes #35

Co-authored-by: ddCat <ddcat666@88.com>
This commit is contained in:
ddcat666andddCat authored and GitHub committed 2026-07-23 21:19:07 +08:00
1 parent 78e27507c4
commit d3dfede48f
40 files changed
+1202 -488

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ func TestPersistGeneratedMediaAppliesStoredFileQuota(t *testing.T) {
ID: "existing",
UserID: "user-1",
Status: model.ResourceStatusReady,
Size: MaxUserStoredFileBytes - 1,
Size: gigabytes(defaultRuntimePolicy().Resource.StoredFileGB) - 1,
}); err != nil {
t.Fatal(err)
}