Commit 4df6911f authored by Quxl's avatar Quxl

x

parent fb69ed8a
......@@ -2,6 +2,8 @@ package com.egolm.film.api.web;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
......@@ -9,6 +11,7 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.Util;
import com.egolm.common.bean.Rjx;
import com.egolm.film.api.service.AdminTokenService;
import com.egolm.film.api.service.ExportService;
......@@ -82,13 +85,10 @@ public class FilmController {
@ApiImplicitParam(paramType="query", dataType="string", allowMultiple=true, required=true, name="show_filmfest_type", value="参与类型"),
@ApiImplicitParam(paramType="query", dataType="string", allowMultiple=true, 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) {
public Object saveMemberFilmShow(Long member_film_id, String play_shanghai, HttpServletRequest req) {
String[] show_filmfest = req.getParameterValues("show_filmfest");
String[] show_filmfest_type = req.getParameterValues("show_filmfest_type");
String[] show_filmfest_intro = req.getParameterValues("show_filmfest_intro");
filmService.saveMemberFilmShow(
member_film_id,
play_shanghai,
......@@ -110,13 +110,11 @@ public class FilmController {
@ApiImplicitParam(paramType="query", dataType="string", allowMultiple=true, required=false, name="issuer_email", value="发行方Email"),
@ApiImplicitParam(paramType="query", dataType="string", allowMultiple=true, 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) {
public Object saveMemberFilmIssuer(Long member_film_id, HttpServletRequest req) {
String[] issuer_company = req.getParameterValues("issuer_company");
String[] issuer_contacts = req.getParameterValues("issuer_contacts");
String[] issuer_email = req.getParameterValues("issuer_email");
String[] issuer_tel = req.getParameterValues("issuer_tel");
filmService.saveMemberFilmIssuer(
member_film_id,
issuer_company,
......@@ -142,16 +140,17 @@ public class FilmController {
@ApiImplicitParam(paramType="query", dataType="string", allowMultiple=true, required=true, name="playactor_intro", value="演职员简介"),
@ApiImplicitParam(paramType="query", dataType="integer", allowMultiple=true, required=false, name="is_play_shanghai", value="演职员作品是否参加过上海电影节"),
})
public Object saveMemberFilmPlayactor(
Long member_film_id,
String[] playactor_type,
String[] playactor_role_name,
String[] playactor_name,
String[] playactor_film_nums,
String[] playactor_country,
String[] playactor_birthday,
String[] playactor_intro,
Integer[] is_play_shanghai) {
public Object saveMemberFilmPlayactor(Long member_film_id, HttpServletRequest req) {
String[] playactor_type = req.getParameterValues("playactor_type");
String[] playactor_role_name = req.getParameterValues("playactor_role_name");
String[] playactor_name = req.getParameterValues("playactor_name");
String[] playactor_film_nums = req.getParameterValues("playactor_film_nums");
String[] playactor_country = req.getParameterValues("playactor_country");
String[] playactor_birthday = req.getParameterValues("playactor_birthday");
String[] playactor_intro = req.getParameterValues("playactor_intro");
Integer[] is_play_shanghai = Util.toIntArray(req.getParameterValues("playactor_intro"));
filmService.saveMemberFilmPlayactor(
member_film_id,
......
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