mirror of
https://github.com/certd/certd.git
synced 2026-05-19 07:37:36 +08:00
chore: 修改权限判断字段从summary改成description
This commit is contained in:
@@ -7,7 +7,7 @@ import { Constants } from '@certd/lib-server';
|
||||
export class HomeController {
|
||||
@Inject()
|
||||
environmentService: MidwayEnvironmentService;
|
||||
@Get('/', { summary: Constants.per.guest })
|
||||
@Get('/', { description: Constants.per.guest })
|
||||
async home(): Promise<string> {
|
||||
logger.info('当前环境:', this.environmentService.getCurrentEnvironment()); // prod
|
||||
return 'Hello Midwayjs!';
|
||||
|
||||
Reference in New Issue
Block a user