feat(settings): link feature toggles to their config pages

Channel Monitor card now links to 渠道管理 > 渠道监控 and the Available
Channels card links to 渠道管理 > 渠道定价 so admins know where to go
after flipping the switch.
This commit is contained in:
erio
2026-04-21 21:59:23 +08:00
parent 6cd7c60549
commit 1f81b77911
4 changed files with 68 additions and 0 deletions

View File

@@ -4840,11 +4840,19 @@ export default {
channelMonitor: {
title: '渠道监控',
description: '定期对配置的渠道发起健康检查,向用户展示可用性与延迟。关闭后调度器停止扫描,用户端列表为空。',
configureLink: '前往 渠道管理 > 渠道监控 配置监控项',
enabled: '启用渠道监控',
enabledHint: '关闭后后台不再执行定时检测,已有数据保留。',
defaultInterval: '默认检测间隔(秒)',
defaultIntervalHint: '新建渠道监控时表单的默认值,可被单个渠道覆盖。范围 15 3600 秒。',
},
availableChannels: {
title: '可用渠道',
description: '向已登录用户展示他们能访问的渠道、模型和定价聚合视图。默认关闭。',
configureLink: '前往 渠道管理 > 渠道定价 配置模型价格',
enabled: '启用可用渠道',
enabledHint: '关闭后用户端侧边栏入口隐藏,接口返回空数组。',
},
},
emailTabDisabledTitle: '邮箱验证未启用',
emailTabDisabledHint: '请在「安全与认证」选项卡中启用邮箱验证后,再配置 SMTP 设置。',