mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
system接口增加版本号,应用权限增加依赖管理
This commit is contained in:
parent
e001686627
commit
4d20bb0de6
|
@ -213,6 +213,7 @@ export default (app: Router) => {
|
|||
const userService = Container.get(UserService);
|
||||
const authInfo = await userService.getUserInfo();
|
||||
const envDbContent = getFileContentByName(config.envDbFile);
|
||||
const { version } = await import(config.versionFile);
|
||||
|
||||
let isInitialized = true;
|
||||
if (
|
||||
|
@ -227,6 +228,7 @@ export default (app: Router) => {
|
|||
code: 200,
|
||||
data: {
|
||||
isInitialized,
|
||||
version,
|
||||
},
|
||||
});
|
||||
} catch (e) {
|
||||
|
|
|
@ -55,6 +55,10 @@ export default {
|
|||
name: '任务日志',
|
||||
value: 'logs',
|
||||
},
|
||||
{
|
||||
name: '依赖管理',
|
||||
value: 'dependencies',
|
||||
},
|
||||
],
|
||||
scopesMap: {
|
||||
crons: '定时任务',
|
||||
|
|
Loading…
Reference in New Issue
Block a user