Commit 9a30ef67 authored by Quxl's avatar Quxl

优化API

parent ab0616fa
...@@ -9,6 +9,8 @@ import com.egolm.common.bean.Rjx; ...@@ -9,6 +9,8 @@ import com.egolm.common.bean.Rjx;
import com.egolm.film.api.member.model.ApplyModel; 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
...@@ -17,9 +19,9 @@ import io.swagger.annotations.ApiOperation; ...@@ -17,9 +19,9 @@ import io.swagger.annotations.ApiOperation;
public class MemberApplyController { public class MemberApplyController {
@ResponseBody @ResponseBody
@PostMapping("query") @PostMapping("list")
@ApiOperation("申报项目查询") @ApiOperation("申报项目查询")
public Object query() { public Object list() {
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
...@@ -30,4 +32,20 @@ public class MemberApplyController { ...@@ -30,4 +32,20 @@ public class MemberApplyController {
return Rjx.jsonOk(); 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