Commit 17c73bd3 authored by Quxl's avatar Quxl

添加申报单模型

parent bd53071a
package com.egolm.film.api.member; package com.egolm.film.api.member;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import com.egolm.common.bean.Rjx;
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;
@Api @Api
@Controller @Controller
@RequestMapping("member/apply") @RequestMapping("member/apply")
public class MemberApplyController { public class MemberApplyController {
@PostMapping("query")
@ApiOperation("已申报项目查询")
public Object query() {
return Rjx.jsonOk();
}
@PostMapping("save")
@ApiOperation("保存申报项目信息")
@ApiImplicitParams({
@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();
}
} }
This diff is collapsed.
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