From 7f6ba953abf9aade9324fad8dd6d747d030b3ded Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Sat, 15 May 2021 20:23:24 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/api/apply/ApplyController.java | 12 + .../resources/static/route/apply/save.html | 403 +++++++++++------- 2 files changed, 270 insertions(+), 145 deletions(-) diff --git a/src/main/java/cn/com/tenlion/controller/api/apply/ApplyController.java b/src/main/java/cn/com/tenlion/controller/api/apply/ApplyController.java index bd5df29..3519277 100644 --- a/src/main/java/cn/com/tenlion/controller/api/apply/ApplyController.java +++ b/src/main/java/cn/com/tenlion/controller/api/apply/ApplyController.java @@ -41,6 +41,18 @@ public class ApplyController extends DefaultBaseController { + @ApiOperation(value = "自定义新增报名信息", notes = "自定义新增报名信息") + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PostMapping("save-relation") + @CheckRequestBodyAnnotation + public SuccessResult saveRelation(@RequestBody ApplyVO applyVO) { + applyService.saveRelationReturnId(applyVO); + return new SuccessResult(); + } + + + + @ApiOperation(value = "报名信息撤回", notes = "报名信息撤回接口") @ApiImplicitParams({ @ApiImplicitParam(name = "applyId", value = "报名信息ID", paramType = "path"), diff --git a/src/main/resources/static/route/apply/save.html b/src/main/resources/static/route/apply/save.html index d38b3d7..9c2e08f 100644 --- a/src/main/resources/static/route/apply/save.html +++ b/src/main/resources/static/route/apply/save.html @@ -22,126 +22,168 @@