Commit 7f012cb7 authored by Quxl's avatar Quxl

完善申报接口

parent 25c8b655
...@@ -161,9 +161,9 @@ public class MemberApplyController { ...@@ -161,9 +161,9 @@ public class MemberApplyController {
@ResponseBody @ResponseBody
@PostMapping("get") @PostMapping("get")
@ApiOperation("获取全部申报信息") @ApiOperation("获取全部申报信息")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "id")}) @ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="申报影片ID")})
public Object get(Long id) { public Object get(Long member_film_id) {
Fc_member_film memberFilm = memberService.queryMemberFilmById(id); Fc_member_film memberFilm = memberService.queryMemberFilmById(member_film_id);
List<Fc_member_film_director> directorList = memberService.queryMemberFilmDirectorList(memberFilm.getId()); List<Fc_member_film_director> directorList = memberService.queryMemberFilmDirectorList(memberFilm.getId());
List<Fc_member_film_issuer> issuerList = memberService.queryMemberFilmIssuerList(memberFilm.getId()); List<Fc_member_film_issuer> issuerList = memberService.queryMemberFilmIssuerList(memberFilm.getId());
List<Fc_member_film_playactor> playactorList = memberService.queryMemberFilmPlayactorList(memberFilm.getId()); List<Fc_member_film_playactor> playactorList = memberService.queryMemberFilmPlayactorList(memberFilm.getId());
...@@ -174,7 +174,7 @@ public class MemberApplyController { ...@@ -174,7 +174,7 @@ public class MemberApplyController {
@ResponseBody @ResponseBody
@PostMapping("doApply") @PostMapping("doApply")
@ApiOperation("提交申报") @ApiOperation("提交申报")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "id")}) @ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="申报影片ID")})
public Object doApply(Long id) { public Object doApply(Long id) {
LoginToken loginToken = tokenService.getToken(); LoginToken loginToken = tokenService.getToken();
Integer member_id = (Integer)loginToken.getId(); Integer member_id = (Integer)loginToken.getId();
...@@ -185,9 +185,9 @@ public class MemberApplyController { ...@@ -185,9 +185,9 @@ public class MemberApplyController {
@ResponseBody @ResponseBody
@PostMapping("more") @PostMapping("more")
@ApiOperation("获取更多影片信息") @ApiOperation("获取更多影片信息")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "no")}) @ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_no", value="情报影片编号")})
public Object more(String no) { public Object more(String film_no) {
Fc_member_film_all more = memberService.queryMoreByNo(no); Fc_member_film_all more = memberService.queryMoreByNo(film_no);
return Rjx.jsonOk().setData(more); return Rjx.jsonOk().setData(more);
} }
......
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