feat: 增加全局和个人提醒时间

This commit is contained in:
Qian23333 2025-08-15 16:16:28 +08:00
parent b923ffa7fb
commit 9b88b14353
4 changed files with 145 additions and 49 deletions

View file

@ -205,22 +205,23 @@ export function supportGuoba() {
component: 'Switch',
},
{
field: 'remind.cron',
label: '提醒时间',
bottomHelpMessage: '设置新用户订阅时的默认Cron表达式',
component: 'EasyCron',
field: 'remind.globalRemindTime',
label: '全局提醒时间',
bottomHelpMessage: '设置全局默认提醒时间,格式如"每日20时"或"每周一20时"',
component: 'Input',
componentProps: {
placeholder: '请输入或选择cron表达式',
placeholder: '请输入提醒时间,如"每日20时"',
},
},
{
field: 'remind.abyssSCount',
field: 'remind.abyssCheckLevel',
label: '默认式舆S评级阈值',
bottomHelpMessage: '新用户订阅时S评级数量低于此值会收到提醒',
component: 'InputNumber',
componentProps: {
min: 0,
placeholder: '请输入数字',
min: 1,
max: 7,
placeholder: '请输入数字(1-7)',
},
},
{