Commit 1e98a3df authored by nanahira's avatar nanahira

fix

parent 599f70ca
Pipeline #3389 passed with stages
in 3 minutes and 34 seconds
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
import { ApiTags } from '@nestjs/swagger';
import { ApiOperation, ApiTags } from '@nestjs/swagger';
@Controller()
@ApiTags('tips')
export class AppController {
constructor(private readonly appService: AppService) {}
@Get('tips.json')
@ApiTags('tips')
@ApiOperation({
summary: '获取提示',
description: '获取 SRVPro 需要的 tips.json 文件。',
})
async getTips(): Promise<string[]> {
return await this.appService.getTips();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment