Commit 18d900c5 authored by Quxl's avatar Quxl

完善申报接口

parent 6641a986
......@@ -97,14 +97,14 @@ public class MemberApplyController {
@PostMapping("save_playactor")
@ApiOperation("保存影片演职员信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "playactor_type", value="演职员类型"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "playactor_name", value="演职员名称"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "playactor_film_nums", value="演职员第几部长片"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "playactor_country", value="演职员国家"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "playactor_birthday", value="演职员生日"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "playactor_intro", value="演职员简介"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "is_play_shanghai", value="演职员作品是否参加过上海电影节"),
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "playactor_type", value="演职员类型"),
@ApiImplicitParam(paramType = "query", required = true, name = "playactor_name", value="演职员名称"),
@ApiImplicitParam(paramType = "query", required = true, name = "playactor_film_nums", value="演职员第几部长片"),
@ApiImplicitParam(paramType = "query", required = false, name = "playactor_country", value="演职员国家"),
@ApiImplicitParam(paramType = "query", required = false, name = "playactor_birthday", value="演职员生日"),
@ApiImplicitParam(paramType = "query", required = true, name = "playactor_intro", value="演职员简介"),
@ApiImplicitParam(paramType = "query", required = false, name = "is_play_shanghai", value="演职员作品是否参加过上海电影节"),
})
public Object saveMemberFilmPlayactor(Long member_film_id, String[] playactor_type, String[] playactor_name, String[] playactor_film_nums, String[] playactor_country, String[] playactor_birthday, String[] playactor_intro, Integer[] is_play_shanghai) {
memberService.saveMemberFilmPlayactor(member_film_id, playactor_type, playactor_name, playactor_film_nums, playactor_country, playactor_birthday, playactor_intro, is_play_shanghai);
......@@ -115,11 +115,11 @@ public class MemberApplyController {
@PostMapping("save_issuer")
@ApiOperation("保存影片发行信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "issuer_company", value="发行公司"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "issuer_contacts", value="发行方联系人"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "issuer_email", value="发行方Email"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "issuer_tel", value="发行方电话"),
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "issuer_company", value="发行公司"),
@ApiImplicitParam(paramType = "query", required = false, name = "issuer_contacts", value="发行方联系人"),
@ApiImplicitParam(paramType = "query", required = false, name = "issuer_email", value="发行方Email"),
@ApiImplicitParam(paramType = "query", required = false, name = "issuer_tel", value="发行方电话"),
})
public Object saveMemberFilmIssuer(Long member_film_id, String[] issuer_company, String[] issuer_contacts, String[] issuer_email, String[] issuer_tel) {
memberService.saveMemberFilmIssuer(member_film_id, issuer_company, issuer_contacts, issuer_email, issuer_tel);
......@@ -132,9 +132,9 @@ public class MemberApplyController {
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "play_shanghai", value="该片在上海电影节放映是"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "show_filmfest", value="参加过什么电影节"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "show_filmfest_type", value="参与类型"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "show_filmfest_intro", value="简介(获奖或报名奖项等)"),
@ApiImplicitParam(paramType = "query", required = true, name = "show_filmfest", value="参加过什么电影节"),
@ApiImplicitParam(paramType = "query", required = true, name = "show_filmfest_type", value="参与类型"),
@ApiImplicitParam(paramType = "query", required = false, name = "show_filmfest_intro", value="简介(获奖或报名奖项等)"),
})
public Object saveMemberFilmShow(Long member_film_id, String play_shanghai, String[] show_filmfest, String[] show_filmfest_type, String[] show_filmfest_intro) {
memberService.saveMemberFilmShow(member_film_id, play_shanghai, show_filmfest, show_filmfest_type, show_filmfest_intro, show_filmfest_intro);
......
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