From 715a4992fd32c8cae043e777b807067a09d3a4c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Mon, 5 Oct 2026 17:30:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D(=E5=90=8E=E5=8F=B0=E5=81=87?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3):=20=E4=BC=9A=E5=91=98=E6=A1=A3=E4=BD=8D?= =?UTF-8?q?=E5=A4=B9=E5=85=B7=E8=A1=A5=E9=BD=90=20recommended=20=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - membership-plans 的 GET 列表与 POST 回显补上契约必填的 recommended - 按后端 PROFILE_MEMBERSHIP_RECOMMENDED_PLAN 把 plus 标为推荐,避免本地预览与真实响应漂移 --- scripts/admin-web-fake-api.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/admin-web-fake-api.mjs b/scripts/admin-web-fake-api.mjs index 59f3e8e30..298f8dc43 100644 --- a/scripts/admin-web-fake-api.mjs +++ b/scripts/admin-web-fake-api.mjs @@ -775,6 +775,8 @@ function route(pathname, method, url, requestBody = '') { periodPoints, modelAccess, concurrentJobLimit, + // 与后端目录单一真相源 `PROFILE_MEMBERSHIP_RECOMMENDED_PLAN` 对齐:运营推荐 Plus。 + recommended: planId === 'plus', unlimitedConcurrency: concurrentJobLimit >= UNLIMITED_CONCURRENCY_THRESHOLD, enabled,