feat: 手动开启/关闭群聊通过链接刷新抽卡记录&链接刷新抽卡记录黑白名单#38

This commit is contained in:
bietiaop 2024-08-04 16:18:16 +08:00
parent 8fd570a442
commit 3fef51cdf9
3 changed files with 124 additions and 13 deletions

View file

@ -67,6 +67,49 @@ export function supportGuoba() {
placeholder: '请输入数字',
},
},
{
field: 'gacha.allow_group',
label: '群聊链接刷新',
bottomHelpMessage: '是否允许群聊通过发送链接刷新抽卡记录',
component: 'Switch',
},
{
field: 'gacha.white_list',
label: '白名单群聊',
bottomHelpMessage: '在关闭群聊链接刷新时,允许通过链接刷新的群聊',
component: 'Select',
componentProps: {
mode: 'multiple',
options: allGroup,
},
},
{
field: 'gacha.black_list',
label: '黑名单群聊',
bottomHelpMessage: '在开启群聊链接刷新时,禁止通过链接刷新的群聊',
component: 'Select',
componentProps: {
mode: 'multiple',
options: allGroup,
},
},
{
component: 'Divider',
label: '深渊设置',
},
{
field: 'abyss.interval',
label: '冷却时间',
bottomHelpMessage:
'设置刷新深渊信息的冷却时间单位为秒取值范围为01000',
component: 'InputNumber',
required: true,
componentProps: {
min: 0,
max: 1000,
placeholder: '请输入数字',
},
},
{
component: 'Divider',
label: '面板设置',