Commit 43cc487f authored by Quxl's avatar Quxl

c

parent 5905b42a
...@@ -43,7 +43,7 @@ public class FilmGroupController { ...@@ -43,7 +43,7 @@ public class FilmGroupController {
@ResponseBody @ResponseBody
@PostMapping("delete") @PostMapping("delete")
@ApiOperation("保存或更新分类") @ApiOperation("删除分类")
public Object delete(Integer id) { public Object delete(Integer id) {
filmGroupService.removeFilmGroupById(id); filmGroupService.removeFilmGroupById(id);
return Rjx.jsonOk(); return Rjx.jsonOk();
...@@ -51,7 +51,7 @@ public class FilmGroupController { ...@@ -51,7 +51,7 @@ public class FilmGroupController {
@ResponseBody @ResponseBody
@PostMapping("getFilmGroupList") @PostMapping("getFilmGroupList")
@ApiOperation("保存分类") @ApiOperation("查询分类列表")
public Object getFilmGroupList() { public Object getFilmGroupList() {
List<Map<String, Object>> list = filmGroupService.queryFilmGroupList(); List<Map<String, Object>> list = filmGroupService.queryFilmGroupList();
return Rjx.jsonOk().setData(list); return Rjx.jsonOk().setData(list);
...@@ -59,7 +59,7 @@ public class FilmGroupController { ...@@ -59,7 +59,7 @@ public class FilmGroupController {
@ResponseBody @ResponseBody
@PostMapping("getFilmListByGroupId") @PostMapping("getFilmListByGroupId")
@ApiOperation("保存分类") @ApiOperation("查询分类下影片列表")
public Object getFilmListByGroupId(Integer group_id) { public Object getFilmListByGroupId(Integer group_id) {
List<Map<String, Object>> list = filmGroupService.queryFilmListByGroupId(group_id); List<Map<String, Object>> list = filmGroupService.queryFilmListByGroupId(group_id);
return Rjx.jsonOk().setData(list); return Rjx.jsonOk().setData(list);
...@@ -67,7 +67,7 @@ public class FilmGroupController { ...@@ -67,7 +67,7 @@ public class FilmGroupController {
@ResponseBody @ResponseBody
@PostMapping("updateFilmGroupId") @PostMapping("updateFilmGroupId")
@ApiOperation("保存分类") @ApiOperation("更新影片分类")
public Object updateFilmGroupId(Integer film_id, Integer group_id) { public Object updateFilmGroupId(Integer film_id, Integer group_id) {
filmGroupService.updateFilmGroupId(film_id, group_id); filmGroupService.updateFilmGroupId(film_id, group_id);
return Rjx.jsonOk(); return Rjx.jsonOk();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment