| | |
| | | return new SuccessTip(); |
| | | } |
| | | |
| | | @ApiOperation(value = "卡车公司-场地详情", notes = "卡车公司-场地详情") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "Authorization", value = "用户token(Bearer +token)", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9....."), |
| | | @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "int", paramType = "query"), |
| | | }) |
| | | @GetMapping(value = "/yardInfo") |
| | | @ResponseBody |
| | | public Object yardInfo(int id) { |
| | | TYard tYard = yardService.selectById(id); |
| | | return new SuccessTip(tYard); |
| | | } |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | |