mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
Update guoba.support.js & 指令 (#116)
* Update guoba.support.js * Update help.js * Update gachalog.js * Update help.js * Update help.js
This commit is contained in:
parent
51da9ada17
commit
186c3c2807
3 changed files with 20 additions and 12 deletions
|
|
@ -26,11 +26,11 @@ export class GachaLog extends ZZZPlugin {
|
||||||
fnc: 'startGachaLog',
|
fnc: 'startGachaLog',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
reg: `${rulePrefix}(刷新|更新)抽卡(链接|记录)$`,
|
reg: `${rulePrefix}(刷新|更新)抽卡(链接|记录)?$`,
|
||||||
fnc: 'refreshGachaLog',
|
fnc: 'refreshGachaLog',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
reg: `^${rulePrefix}抽卡(分析|记录)$`,
|
reg: `^${rulePrefix}抽卡(分析|记录|统计)$`,
|
||||||
fnc: 'gachaLogAnalysis',
|
fnc: 'gachaLogAnalysis',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ const helpData = [
|
||||||
desc: '刷新抽卡记录,如果数据过多,可能需要等待很长一段时间,请等待回复后再%查看抽卡记录',
|
desc: '刷新抽卡记录,如果数据过多,可能需要等待很长一段时间,请等待回复后再%查看抽卡记录',
|
||||||
needCK: true,
|
needCK: true,
|
||||||
needSK: true,
|
needSK: true,
|
||||||
commands: ['刷新/更新抽卡链接', '刷新/更新抽卡记录'],
|
commands: ['刷新/更新抽卡', '刷新/更新抽卡链接', '刷新/更新抽卡记录'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '获取抽卡记录链接',
|
title: '获取抽卡记录链接',
|
||||||
|
|
@ -91,7 +91,7 @@ const helpData = [
|
||||||
desc: '查看抽卡记录,需要手动%刷新抽卡记录,否则读取的是缓存数据',
|
desc: '查看抽卡记录,需要手动%刷新抽卡记录,否则读取的是缓存数据',
|
||||||
needCK: false,
|
needCK: false,
|
||||||
needSK: false,
|
needSK: false,
|
||||||
commands: ['抽卡分析', '抽卡记录'],
|
commands: ['抽卡分析', '抽卡记录', '抽卡统计'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ export function supportGuoba() {
|
||||||
// 配置项 schemas
|
// 配置项 schemas
|
||||||
schemas: [
|
schemas: [
|
||||||
{
|
{
|
||||||
component: 'Divider',
|
component: 'SOFT_GROUP_BEGIN',
|
||||||
label: '通用设置',
|
label: '通用设置',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -69,9 +69,9 @@ export function supportGuoba() {
|
||||||
field: 'config.update.cron',
|
field: 'config.update.cron',
|
||||||
label: '推送时间',
|
label: '推送时间',
|
||||||
bottomHelpMessage: '设置自动检查更新推送的时间,cron表达式',
|
bottomHelpMessage: '设置自动检查更新推送的时间,cron表达式',
|
||||||
component: 'Input',
|
component: 'EasyCron',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
placeholder: '请输入cron表达式',
|
placeholder: '请输入或选择cron表达式',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -92,7 +92,7 @@ export function supportGuoba() {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'Divider',
|
component: 'SOFT_GROUP_BEGIN',
|
||||||
label: '抽卡分析设置',
|
label: '抽卡分析设置',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -106,6 +106,7 @@ export function supportGuoba() {
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 1000,
|
max: 1000,
|
||||||
placeholder: '请输入数字',
|
placeholder: '请输入数字',
|
||||||
|
addonAfter: "s",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -135,7 +136,7 @@ export function supportGuoba() {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// component: 'Divider',
|
// component: 'SOFT_GROUP_BEGIN',
|
||||||
// label: '深渊设置',
|
// label: '深渊设置',
|
||||||
// },
|
// },
|
||||||
// {
|
// {
|
||||||
|
|
@ -149,10 +150,11 @@ export function supportGuoba() {
|
||||||
// min: 0,
|
// min: 0,
|
||||||
// max: 1000,
|
// max: 1000,
|
||||||
// placeholder: '请输入数字',
|
// placeholder: '请输入数字',
|
||||||
|
// addonAfter: "s",
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
component: 'Divider',
|
component: 'SOFT_GROUP_BEGIN',
|
||||||
label: '面板设置',
|
label: '面板设置',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -166,6 +168,7 @@ export function supportGuoba() {
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 1000,
|
max: 1000,
|
||||||
placeholder: '请输入数字',
|
placeholder: '请输入数字',
|
||||||
|
addonAfter: "s",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -179,10 +182,11 @@ export function supportGuoba() {
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 1000,
|
max: 1000,
|
||||||
placeholder: '请输入数字',
|
placeholder: '请输入数字',
|
||||||
|
addonAfter: "s",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'Divider',
|
component: 'SOFT_GROUP_BEGIN',
|
||||||
label: '攻略设置',
|
label: '攻略设置',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -240,6 +244,10 @@ export function supportGuoba() {
|
||||||
placeholder: '请输入数字1~7',
|
placeholder: '请输入数字1~7',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '其他设置',
|
||||||
|
component: 'SOFT_GROUP_BEGIN'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
component: 'Divider',
|
component: 'Divider',
|
||||||
label:
|
label:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue