fix: 编辑error状态账号时保存报Status验证失败

后端UpdateAccountRequest.Status的oneof验证缺少error状态,
前端编辑表单也未处理error状态,导致编辑异常账号时无法保存
This commit is contained in:
shaw
2026-03-07 13:47:08 +08:00
parent ebd5253e22
commit a42a1f08e9
3 changed files with 15 additions and 9 deletions

View File

@@ -809,7 +809,7 @@ export interface UpdateAccountRequest {
priority?: number
rate_multiplier?: number // Account billing multiplier (>=0, 0 means free)
schedulable?: boolean
status?: 'active' | 'inactive'
status?: 'active' | 'inactive' | 'error'
group_ids?: number[]
expires_at?: number | null
auto_pause_on_expired?: boolean