mirror of
https://github.com/crystelf/crystelf-admin.git
synced 2025-12-05 13:41:57 +00:00
fix:111
This commit is contained in:
parent
1c0c71a405
commit
304f2c9e6c
@ -13,11 +13,6 @@ export default class CoreRestart extends plugin {
|
||||
fnc: 'restart',
|
||||
permission: 'master',
|
||||
},
|
||||
{
|
||||
reg: '^test$',
|
||||
fnc: 'test',
|
||||
permission: 'master',
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
@ -40,14 +35,4 @@ export default class CoreRestart extends plugin {
|
||||
await e.reply(`核心重启花的时间有点久了呢..${restartTime?.data?.data}`, true);
|
||||
}
|
||||
}
|
||||
|
||||
async test(e) {
|
||||
logger.info(configControl.get());
|
||||
|
||||
await configControl.set('napcat', {
|
||||
basePath: '114514',
|
||||
userPath: '44444',
|
||||
});
|
||||
logger.info(configControl.get());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user