修复系统token权限

This commit is contained in:
whyour 2022-06-18 19:18:14 +08:00
parent a23dbfe5e1
commit 5d6ac7f07c

View File

@ -155,7 +155,7 @@ export default class OpenService {
if (!systemApp) {
systemApp = await this.create({
name: 'system',
scopes: ['crons'],
scopes: ['crons', 'system'],
} as App);
}
const nowTime = Math.round(Date.now() / 1000);