文档(会员契约): 后台改档请求并发上限不再硬编码 128

- AdminUpsertProfileMembershipPlanRequest.concurrentJobLimit 改为引用后端下发的 unlimitedConcurrencyThreshold
- 同步重新生成 ts-rs 绑定
This commit is contained in:
2026-10-05 17:56:02 +08:00
parent 8e9d2389e0
commit 87a3794423
2 changed files with 2 additions and 2 deletions
@@ -15,6 +15,6 @@ plan: ProfileMembershipPlanToken, title: string, monthPriceCents: number, yearPr
*/
modelAccess: ProfileMembershipModelAccessToken,
/**
* 并发上限;`128` 表示不设上限。
* 并发上限;达到后端下发的 `unlimitedConcurrencyThreshold` 即表示不设上限,前端不硬编码哨兵值。
*/
concurrentJobLimit: number, enabled: boolean, };
@@ -1089,7 +1089,7 @@ pub struct AdminUpsertProfileMembershipPlanRequest {
pub period_points: u64,
/// 模型权限 token:`basic` / `full`;本期只落字段、不做服务端拦截。
pub model_access: ProfileMembershipModelAccessToken,
/// 并发上限;`128` 表示不设上限。
/// 并发上限;达到后端下发的 `unlimitedConcurrencyThreshold` 即表示不设上限,前端不硬编码哨兵值。
pub concurrent_job_limit: u32,
#[serde(default = "default_true")]
pub enabled: bool,