Commit ff69b954 authored by Quxl's avatar Quxl

x

parent cb846d48
......@@ -153,15 +153,4 @@ public class FilmController {
return Rjx.jsonOk();
}
@ResponseBody
@PostMapping("update_state")
@ApiOperation("修改影片状态")
@ApiImplicitParams({
@ApiImplicitParam(paramType="query", dataType="long", required=true, name="member_film_id", value="影片ID"),
@ApiImplicitParam(paramType="query", dataType="int", required=true, name="state", value="影片状态:1未提交 2已提交"),
})
public Object update_state(Long member_film_id, Integer state) {
memberFilmService.updateFilmState(member_film_id, state);
return Rjx.jsonOk();
}
}
......@@ -190,5 +190,15 @@ public class AdminFirstController {
return Rjx.jsonOk();
}
@ResponseBody
@PostMapping("update_state")
@ApiOperation("修改影片状态")
@ApiImplicitParams({
@ApiImplicitParam(paramType="query", dataType="long", required=true, name="member_film_id", value="影片ID"),
@ApiImplicitParam(paramType="query", dataType="int", required=true, name="state", value="影片状态:1未提交 2已提交"),
})
public Object update_state(Long member_film_id, Integer state) {
memberFilmService.updateFilmState(member_film_id, state);
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