mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 13:47:44 +00:00
fix: 修复管理函数位置
This commit is contained in:
parent
94aefc1f0b
commit
a34c2835e4
3 changed files with 70 additions and 91 deletions
|
|
@ -88,6 +88,11 @@ export class Manage extends ZZZPlugin {
|
|||
reg: `${rulePrefix}设置检查更新时间(.+)$`,
|
||||
fnc: 'setCheckUpdateCron',
|
||||
},
|
||||
{
|
||||
reg: `${rulePrefix}设置全局提醒时间\\s*(每日\\d+时|每周.\\d+时)`,
|
||||
fnc: 'setGlobalRemind',
|
||||
permission: 'master',
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
|
|
@ -111,5 +116,6 @@ export class Manage extends ZZZPlugin {
|
|||
this.setCheckUpdateCron = manage.version.setCheckUpdateCron;
|
||||
this.setDefaultDevice = manage.device.setDefaultDevice;
|
||||
this.toSetDefaultDevice = manage.device.toSetDefaultDevice;
|
||||
this.setGlobalRemind = manage.remind.setGlobalRemind;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue