Commit 9a30ef67 authored by Quxl's avatar Quxl

优化API

parent ab0616fa
......@@ -9,6 +9,8 @@ import com.egolm.common.bean.Rjx;
import com.egolm.film.api.member.model.ApplyModel;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
@Api
......@@ -17,9 +19,9 @@ import io.swagger.annotations.ApiOperation;
public class MemberApplyController {
@ResponseBody
@PostMapping("query")
@ApiOperation("申报项目查询")
public Object query() {
@PostMapping("list")
@ApiOperation("申报项目查询")
public Object list() {
return Rjx.jsonOk();
}
......@@ -30,4 +32,20 @@ public class MemberApplyController {
return Rjx.jsonOk();
}
@ResponseBody
@PostMapping("get")
@ApiOperation("获取申报详情")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "id")})
public Object get(String id) {
return Rjx.jsonOk();
}
@ResponseBody
@PostMapping("doApply")
@ApiOperation("提交申报")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "id")})
public Object doApply(String id) {
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