Commit 18c7424b authored by Quxl's avatar Quxl

修改申报API

parent cc412739
...@@ -6,10 +6,9 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -6,10 +6,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.film.api.member.model.ApplyModel;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
@Api @Api
...@@ -27,14 +26,7 @@ public class MemberApplyController { ...@@ -27,14 +26,7 @@ public class MemberApplyController {
@ResponseBody @ResponseBody
@PostMapping("save") @PostMapping("save")
@ApiOperation("保存申报项目信息") @ApiOperation("保存申报项目信息")
@ApiImplicitParams({ public Object save(ApplyModel applyModel) {
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "email"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "realname"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "address"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "company"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "tel"),
})
public Object save(String email, String realname, String address, String company, String tel) {
return Rjx.jsonOk(); 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