mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore:
This commit is contained in:
@@ -50,7 +50,7 @@ export class BasicSettingsController extends BaseController {
|
|||||||
const sysPublic = await this.getSysPublic();
|
const sysPublic = await this.getSysPublic();
|
||||||
const installInfo = await this.getInstallInfo();
|
const installInfo = await this.getInstallInfo();
|
||||||
let siteInfo = {};
|
let siteInfo = {};
|
||||||
if (!isComm()) {
|
if (isComm()) {
|
||||||
siteInfo = await this.getSiteInfo();
|
siteInfo = await this.getSiteInfo();
|
||||||
}
|
}
|
||||||
const siteEnv = await this.getSiteEnv();
|
const siteEnv = await this.getSiteEnv();
|
||||||
|
|||||||
@@ -59,4 +59,9 @@ export class SysAccessController extends AccessController {
|
|||||||
async getAccessTypeDict() {
|
async getAccessTypeDict() {
|
||||||
return await super.getAccessTypeDict();
|
return await super.getAccessTypeDict();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Post('/simpleInfo', { summary: 'sys:settings:view' })
|
||||||
|
async simpleInfo(@Query('id') id: number) {
|
||||||
|
return await super.simpleInfo(id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user