Schema 收口第二轮:补齐 PHP 依赖契约并继续收敛文案
继续 Workstream C 全量字段比对,重点处理“前端 schema 已有 dependsOn、PHP schema 缺失” 的五层不一致问题,并顺手清理残留平台化文案。 本次完成: - global PHP schema:补齐 AI SEO / loading 动画 / 代码高亮相关 dependsOn,避免在总开关关闭时 子字段仍作为平铺配置暴露。 - permissions PHP schema:补齐 login captcha 基础开关的 dependsOn;将“审核和风控”改为“内容审核”, 将“基本权限 / 能力矩阵”改为“基本权限”;同步更新前端 schema 文案。 - users PHP schema:为 sms / report / wechat 三个典型兼容/治理域补齐 master-switch -> sub-config 的 dependsOn(严格贴合 stream-c §7.3),避免这些低优先级能力打断主线配置节奏。 - docs-mode PHP schema:补齐 docs_mode_enabled 下的子字段折叠逻辑,确保兼容域“默认不展开”。 - forum schema:将用户治理文案收紧为用户管理,并把 other section 调整到 forum 聚合末尾。 - payment revenue 前端 schema:去掉“台账”措辞,回到更轻的主题配置文案。 验证: - php -l 通过:global / permissions / users / extensions-docs-mode / forum / forum-basic - node --check 通过:permissions/index.js / payment/revenue.js - 与上一轮已完成的默认值对齐一起,当前 worktree 中 C 线改动已覆盖: default 收敛、level/badge 后移、以及一批高影响 dependsOn/文案修正 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@ export const revenueSchema = {
|
||||
payment_revenue_settlement_threshold: 100,
|
||||
payment_revenue_cycle_days: 30,
|
||||
payment_revenue_points_rule: '',
|
||||
payment_revenue_note: '分成策略和台账结构已就绪,订单入账后自动按比例结算。',
|
||||
payment_revenue_note: '分成规则已就绪,订单入账后自动按比例结算。',
|
||||
payment_revenue_desc_details: '',
|
||||
payment_revenue_desc_page: '',
|
||||
},
|
||||
|
||||
@@ -102,9 +102,9 @@ export const permissionsSchemas = {
|
||||
*/
|
||||
capabilities: {
|
||||
key: 'permissions.capabilities',
|
||||
title: '基本权限 / 能力矩阵',
|
||||
title: '基本权限',
|
||||
icon: 'fas fa-user-shield',
|
||||
description: '统一管理用户治理、投稿和评论的角色能力矩阵。',
|
||||
description: '统一管理用户、投稿和评论的角色权限。',
|
||||
defaults: {},
|
||||
groups: [],
|
||||
},
|
||||
@@ -114,9 +114,9 @@ export const permissionsSchemas = {
|
||||
*/
|
||||
moderation: {
|
||||
key: 'permissions.moderation',
|
||||
title: '审核和风控',
|
||||
title: '内容审核',
|
||||
icon: 'fas fa-gavel',
|
||||
description: '管理评论审核、反垃圾、限流与风控配置。',
|
||||
description: '管理评论审核、反垃圾、限流与拦截配置。',
|
||||
defaults: {
|
||||
enabled: false,
|
||||
akismet_enabled: false,
|
||||
|
||||
Reference in New Issue
Block a user