src/modules/base/controller/admin/sys/param.ts
@@ -31,4 +31,9 @@ async htmlByKey(@Query('key') key: string) { this.ctx.body = await this.baseSysParamService.htmlByKey(key); } @Get('/stringbykey', { summary: '获得网页内容的参数值' }) async stringByKey(@Query('key') key: string) { this.ctx.body = await this.baseSysParamService.getByKey(key); } }