checkpoint
This commit is contained in:
parent
cca4e837bc
commit
f40a5f8e51
2 changed files with 164 additions and 2 deletions
|
|
@ -1,4 +1,7 @@
|
|||
import { Controller, Get, Route, Security, Tags } from "tsoa";
|
||||
import { profile } from "console";
|
||||
import { Controller, Get, Post, Query, Route, Security, Tags } from "tsoa";
|
||||
import { calculateGovAge } from "../interfaces/utils";
|
||||
import HttpSuccess from "../interfaces/http-success";
|
||||
|
||||
@Route("/hello")
|
||||
@Tags("Test")
|
||||
|
|
@ -8,4 +11,10 @@ export class AppController extends Controller {
|
|||
public async GET() {
|
||||
return { message: "Hello World 1" };
|
||||
}
|
||||
|
||||
// @Post()
|
||||
// public async Post(@Query() profileId: string) {
|
||||
// const result = calculateGovAge(profileId);
|
||||
// return new HttpSuccess(result);
|
||||
// }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue