用户功能设置收口与废弃后台链路清理

This commit is contained in:
kate522 committed 2026-08-23 22:09:12 +08:00
1 parent 081eb0870d
commit 86692ff3f9
59 files changed
+506 -1767

No files matched your search

@@ -1,29 +0,0 @@
export const emailRollbackSchema = {
key: 'tools.email-rollback',
title: '邮件回滚',
icon: 'fa fas fa-undo',
description: '批量回滚已发送的通知邮件。',
defaults: {},
groups: [
{
key: 'rollback',
title: '邮件回滚',
icon: 'fa fas fa-envelope-open',
fields: [
{
key: 'rollback_type',
label: '回滚类型',
type: 'select',
options: [
{ label: '按时间范围', value: 'date_range' },
{ label: '按邮件类型', value: 'email_type' },
{ label: '全部回滚', value: 'all' },
],
},
{ key: 'rollback_date_from', label: '开始日期', type: 'date' },
{ key: 'rollback_date_to', label: '结束日期', type: 'date' },
{ key: 'rollback_execute', label: '执行回滚', type: 'button', danger: true, help: '此操作不可逆' },
],
},
],
}
@@ -1,38 +0,0 @@
export const frontendModalRolloutSchema = {
key: 'tools.frontend-modal-rollout',
title: '前台弹窗灰度',
icon: 'fa fas fa-bolt',
description: '按领域控制前台弹窗新流程的分阶段发布。',
defaults: {
frontend_modal_rollout_identity: true,
frontend_modal_rollout_order: true,
frontend_modal_rollout_vip: true,
},
groups: [
{
key: 'rollout',
title: '弹窗新流程开关',
icon: 'fa fas fa-toggle-on',
fields: [
{
key: 'frontend_modal_rollout_identity',
label: '官方认证新流程',
type: 'switch',
help: '启用统一弹窗运行时与认证快照流程。',
},
{
key: 'frontend_modal_rollout_order',
label: '订单新流程',
type: 'switch',
help: '启用订单详情快速开壳与状态同步流程。',
},
{
key: 'frontend_modal_rollout_vip',
label: '会员支付新流程',
type: 'switch',
help: '启用统一会员购买、支付和结果同步流程。',
},
],
},
],
}
@@ -5,14 +5,10 @@
import { importExportSchema } from './import-export.js'
import { healthSchema } from './health.js'
import { emailRollbackSchema } from './email-rollback.js'
import { backupSchema } from './backup.js'
import { frontendModalRolloutSchema } from './frontend-modal-rollout.js'
export const toolsSchemas = {
'import-export': importExportSchema,
health: healthSchema,
'email-rollback': emailRollbackSchema,
backup: backupSchema,
'frontend-modal-rollout': frontendModalRolloutSchema,
}