(@param('userId') userId: string)
| 13 | */ |
| 14 | @GetMapping('/user/:userId') |
| 15 | async queryUser(@param('userId') userId: string): Promise<CommonObj> { |
| 16 | return this.userService.queryUserById(userId); |
| 17 | } |
| 18 | |
| 19 | @PostMapping('/add-user') |
| 20 | async insertUser(@request() user: CommonObj): Promise<CommonObj> { |
nothing calls this directly
no test coverage detected