v2-dev
xiaojunnuo 2025-01-24 20:02:11 +08:00
parent 75a38d95f3
commit 71803f891d
1 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import {
SysSuiteSetting, SysSuiteSetting,
} from '@certd/lib-server'; } from '@certd/lib-server';
import { AppKey, getPlusInfo, isComm } from '@certd/plus-core'; import { AppKey, getPlusInfo, isComm } from '@certd/plus-core';
import { cloneDeep } from 'lodash-es';
/** /**
*/ */
@ -62,7 +63,10 @@ export class BasicSettingsController extends BaseController {
} }
async plusInfo() { async plusInfo() {
return getPlusInfo(); const res = getPlusInfo();
const copy = cloneDeep(res);
delete copy.secret;
return copy;
} }
@Get('/all', { summary: Constants.per.guest }) @Get('/all', { summary: Constants.per.guest })