| | |
| | | return returnData(R.SUCCESS.getCode(), filmLocationService.queryPage(dto, page)); |
| | | } |
| | | |
| | | @GetMapping("/filmLocation/info") |
| | | @ApiOperation(value = "城市列表", httpMethod = "GET") |
| | | public ResponseEntity<ReturnDataDTO<List<FilmLocationVO>>> getFilmLocationLifo(FilmLocationQueryDTO dto) { |
| | | return returnData(R.SUCCESS.getCode(), filmLocationService.getFilmLocationLifo(dto)); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/filmLocation/getTop3") |
| | | @ApiOperation(value = "影视拍摄场地前三", httpMethod = "GET") |
| | | public ResponseEntity<ReturnDataDTO<List<FilmLocationVO>>> getFilmLocationListTop3() { |
| | | return returnData(R.SUCCESS.getCode(), filmLocationService.getFilmLocationListTop3()); |
| | | } |
| | | |
| | | |
| | | @GetMapping(value = "/filmLocation/delete") |
| | | @ApiOperation(value = "删除影视拍摄场地 ", httpMethod = "GET", notes = "ID") |
| | | public ResponseEntity delete(@NotNull(message = "id不能为空") Long id) { |
| | |
| | | return returnData(R.SUCCESS.getCode(), filmLocationService.related(locationId)); |
| | | } |
| | | |
| | | @GetMapping("/filmLocation/city") |
| | | @ApiOperation(value = "城市对应的影视作品", notes = "城市对应的影视作品") |
| | | public ResponseEntity<ReturnDataDTO<List<FilmWorksVO>>> city(@NotNull(message = "name不能为空") String name) { |
| | | return returnData(R.SUCCESS.getCode(), filmLocationService.city(name)); |
| | | } |
| | | |
| | | @GetMapping("/filmLocation/location") |
| | | @ApiOperation(value = "城市对应的影视作品", notes = "城市对应的影视作品") |
| | | public ResponseEntity<ReturnDataDTO<List<FilmLocationVO>>> location(@NotNull(message = "name不能为空") String name) { |
| | | return returnData(R.SUCCESS.getCode(), filmLocationService.location(name)); |
| | | } |
| | | |
| | | |
| | | } |