fix(modal): align rollout schema contract

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-04 21:31:55 +08:00
co-authored by Claude Fable 5
parent 113a6bcab0
commit 1f004aea46
10 changed files with 40 additions and 39 deletions
@@ -0,0 +1,45 @@
export const frontendModalRolloutSchema = {
key: 'tools.frontend-modal-rollout',
title: '前台弹窗灰度',
icon: 'fas fa-bolt',
description: '按领域控制前台弹窗新流程的分阶段发布。',
defaults: {
frontend_modal_rollout_identity: false,
frontend_modal_rollout_badge: false,
frontend_modal_rollout_order: false,
frontend_modal_rollout_vip: false,
},
groups: [
{
key: 'rollout',
title: '弹窗新流程开关',
icon: 'fas fa-toggle-on',
fields: [
{
key: 'frontend_modal_rollout_identity',
label: '官方认证新流程',
type: 'switch',
help: '启用统一弹窗运行时与认证快照流程。',
},
{
key: 'frontend_modal_rollout_badge',
label: '徽章新流程',
type: 'switch',
help: '启用统一 JSON 徽章流程和短缓存。',
},
{
key: 'frontend_modal_rollout_order',
label: '订单新流程',
type: 'switch',
help: '启用订单详情快速开壳与状态同步流程。',
},
{
key: 'frontend_modal_rollout_vip',
label: '会员支付新流程',
type: 'switch',
help: '启用统一会员购买、支付和结果同步流程。',
},
],
},
],
}