Commit 7f012cb7 authored by Quxl's avatar Quxl

完善申报接口

parent 25c8b655
......@@ -77,16 +77,16 @@ public class MemberApplyController {
@PostMapping("save_info")
@ApiOperation("保存影片制作信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_country", value="制作国家"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "dialogue_lang", value="对白语言"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "subtitle_lang", value="字幕语言"),
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_country", value="制作国家"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "dialogue_lang", value="对白语言"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "subtitle_lang", value="字幕语言"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "co_production_country", value="合拍国家"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_total_time", value="影片时长"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "completion_date", value="完成日期"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "show_date", value="公映日期"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_medium", value="影片色彩"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_format", value="样片规格"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_total_time", value="影片时长"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "completion_date", value="完成日期"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "show_date", value="公映日期"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_medium", value="影片色彩"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_format", value="样片规格"),
})
public Object saveMemberFilmInfo(Long member_film_id, String film_country, String dialogue_lang, String subtitle_lang, String[] co_production_country, String film_total_time, String completion_date, String show_date, String film_medium, String film_format) {
memberService.saveMemberFilmInfo(member_film_id, film_country, dialogue_lang, subtitle_lang, co_production_country, film_total_time, completion_date, show_date, film_medium, film_format);
......@@ -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 = true, name = "playactor_country", value="演职员国家"),
@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 = true, name = "playactor_country", value="演职员国家"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "playactor_birthday", value="演职员生日"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "playactor_intro", value="演职员简介"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "is_play_shanghai", value="演职员作品是否参加过上海电影节"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "playactor_intro", value="演职员简介"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, 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);
......@@ -117,9 +117,9 @@ public class MemberApplyController {
@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 = true, name = "issuer_contacts", value="发行方联系人"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "issuer_email", value="发行方Email"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "issuer_tel", value="发行方电话"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "issuer_contacts", value="发行方联系人"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, name = "issuer_email", value="发行方Email"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = true, 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);
......@@ -130,11 +130,11 @@ public class MemberApplyController {
@PostMapping("save_show")
@ApiOperation("保存影片放映信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", 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 = true, name = "show_filmfest_intro", value="简介(获奖或报名奖项等)"),
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", 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 = true, 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);
......@@ -145,12 +145,12 @@ public class MemberApplyController {
@PostMapping("save_issuer_show")
@ApiOperation("保存影片申报信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_company", value="申报公司"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_realname", value="申报联系人"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_email", value="申报联系人邮件"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_tel", value="申报联系人电话"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_mobile", value="申报联系人手机"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_realname", value="申报联系人"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_email", value="申报联系人邮件"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_tel", value="申报联系人电话"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_mobile", value="申报联系人手机"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_country", value="申报联系人国家"),
})
public Object saveMemberFilmCompany(Long member_film_id, String film_apply_company, String film_apply_realname, String film_apply_email, String film_apply_tel, String film_apply_mobile, String film_apply_country) {
......@@ -161,9 +161,9 @@ public class MemberApplyController {
@ResponseBody
@PostMapping("get")
@ApiOperation("获取全部申报信息")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "id")})
public Object get(Long id) {
Fc_member_film memberFilm = memberService.queryMemberFilmById(id);
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="申报影片ID")})
public Object get(Long member_film_id) {
Fc_member_film memberFilm = memberService.queryMemberFilmById(member_film_id);
List<Fc_member_film_director> directorList = memberService.queryMemberFilmDirectorList(memberFilm.getId());
List<Fc_member_film_issuer> issuerList = memberService.queryMemberFilmIssuerList(memberFilm.getId());
List<Fc_member_film_playactor> playactorList = memberService.queryMemberFilmPlayactorList(memberFilm.getId());
......@@ -174,7 +174,7 @@ public class MemberApplyController {
@ResponseBody
@PostMapping("doApply")
@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) {
LoginToken loginToken = tokenService.getToken();
Integer member_id = (Integer)loginToken.getId();
......@@ -185,9 +185,9 @@ public class MemberApplyController {
@ResponseBody
@PostMapping("more")
@ApiOperation("获取更多影片信息")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "no")})
public Object more(String no) {
Fc_member_film_all more = memberService.queryMoreByNo(no);
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_no", value="情报影片编号")})
public Object more(String film_no) {
Fc_member_film_all more = memberService.queryMoreByNo(film_no);
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