修复系统token权限

This commit is contained in:
whyour 2022-06-18 19:18:14 +08:00
parent 6975ff4aa1
commit 96ae20de68

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);