mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 06:46:09 +08:00
修复系统token权限
This commit is contained in:
parent
a23dbfe5e1
commit
5d6ac7f07c
|
@ -155,7 +155,7 @@ export default class OpenService {
|
||||||
if (!systemApp) {
|
if (!systemApp) {
|
||||||
systemApp = await this.create({
|
systemApp = await this.create({
|
||||||
name: 'system',
|
name: 'system',
|
||||||
scopes: ['crons'],
|
scopes: ['crons', 'system'],
|
||||||
} as App);
|
} as App);
|
||||||
}
|
}
|
||||||
const nowTime = Math.round(Date.now() / 1000);
|
const nowTime = Math.round(Date.now() / 1000);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user