docs(会员目录): 说明档位校验不覆盖展示型权益

- validate_runtime_profile_membership_plan_row_against_catalog 文档注明 model_access 与 concurrent_job_limit 本期仅落字段供展示,不参与随 rank 的单调校验。
This commit is contained in:
2026-10-03 17:33:50 +08:00
parent 1d2574a43f
commit 78a43b6a13
@@ -145,6 +145,9 @@ pub fn resolve_runtime_profile_membership_plan_row(
/// `candidate` 是本次要落库的行,`existing` 是目录里的其余行(同 `plan` 的旧行会被忽略)。
/// 只比较 `candidate` 与其余每一行:这样任何单次改写都不能制造新的倒挂,而目录原本单调时
/// 写完后仍严格单调;同时历史脏目录不会把后台彻底锁死,后台仍能逐档修正。
///
/// `model_access` 与 `concurrent_job_limit` 本期只落字段、只用于展示与人工判断,服务端不做拦截,
/// 因此这里不校验它们随 rank 单调;若将来据其做准入判定,需要在此补充倒挂校验。
pub fn validate_runtime_profile_membership_plan_row_against_catalog(
candidate: &RuntimeProfileMembershipPlanRecord,
existing: &[RuntimeProfileMembershipPlanRecord],