Commit 43cc487f authored by Quxl's avatar Quxl

c

parent 5905b42a
......@@ -43,7 +43,7 @@ public class FilmGroupController {
@ResponseBody
@PostMapping("delete")
@ApiOperation("保存或更新分类")
@ApiOperation("删除分类")
public Object delete(Integer id) {
filmGroupService.removeFilmGroupById(id);
return Rjx.jsonOk();
......@@ -51,7 +51,7 @@ public class FilmGroupController {
@ResponseBody
@PostMapping("getFilmGroupList")
@ApiOperation("保存分类")
@ApiOperation("查询分类列表")
public Object getFilmGroupList() {
List<Map<String, Object>> list = filmGroupService.queryFilmGroupList();
return Rjx.jsonOk().setData(list);
......@@ -59,7 +59,7 @@ public class FilmGroupController {
@ResponseBody
@PostMapping("getFilmListByGroupId")
@ApiOperation("保存分类")
@ApiOperation("查询分类下影片列表")
public Object getFilmListByGroupId(Integer group_id) {
List<Map<String, Object>> list = filmGroupService.queryFilmListByGroupId(group_id);
return Rjx.jsonOk().setData(list);
......@@ -67,7 +67,7 @@ public class FilmGroupController {
@ResponseBody
@PostMapping("updateFilmGroupId")
@ApiOperation("保存分类")
@ApiOperation("更新影片分类")
public Object updateFilmGroupId(Integer film_id, Integer group_id) {
filmGroupService.updateFilmGroupId(film_id, group_id);
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