| | |
| | | import com.mzl.flower.dto.request.film.FilmCategoryQueryDTO; |
| | | import com.mzl.flower.dto.response.film.FilmCategoryDTO; |
| | | import com.mzl.flower.dto.response.film.FilmCategoryTreeDTO; |
| | | import com.mzl.flower.entity.film.FilmCategory; |
| | | import com.mzl.flower.service.film.FilmCategoryService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | |
| | | categoryService.setCategoryShown(id, false); |
| | | return returnData(R.SUCCESS.getCode(), null); |
| | | } |
| | | |
| | | @GetMapping("/parentList") |
| | | @ApiOperation(value = "获取片场父类分类列表") |
| | | public ResponseEntity<ReturnDataDTO<List<FilmCategory>>> getParentCategoryList() { |
| | | return returnData(R.SUCCESS.getCode(), categoryService.getParentCategoryList()); |
| | | } |
| | | } |