From 36be00e0f3cbe0d559c646fd2977e6e3a74aa6f9 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 30 Sep 2024 16:57:22 +0800 Subject: [PATCH] Merge branch 'bea' of http://120.27.238.55:7000/r/exchange into bea --- src/main/java/com/xcong/excoin/modules/member/controller/MemberController.java | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 45 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/member/controller/MemberController.java b/src/main/java/com/xcong/excoin/modules/member/controller/MemberController.java index 47d17e7..3affd5a 100644 --- a/src/main/java/com/xcong/excoin/modules/member/controller/MemberController.java +++ b/src/main/java/com/xcong/excoin/modules/member/controller/MemberController.java @@ -346,8 +346,8 @@ @ApiOperation(value="提交提币申请", notes="提交提币申请") @PostMapping(value="/memberSubmitCoinApply") public Result memberSubmitCoinApply(@RequestBody @Valid MemberSubmitCoinApplyDto memberSubmitCoinApplyDto) { - return Result.fail("暂未开放提币"); -// return memberService.memberSubmitCoinApply(memberSubmitCoinApplyDto); +// return Result.fail("暂未开放提币"); + return memberService.memberSubmitCoinApply(memberSubmitCoinApplyDto); } /** @@ -360,5 +360,47 @@ public Result memberTeam(@RequestBody @Valid MemberTeamRecordsPageDto memberTeamRecordsPageDto) { return memberService.memberTeam(memberTeamRecordsPageDto); } - + + /** + * 获取内转提币地址 + * @return + */ + @ApiOperation(value = "获取内转提币地址列表", notes = "获取内转提币地址列表") + @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberCoinAddressInListVo.class)}) + @GetMapping(value = "/memberCoinAddressInList") + public Result memberCoinAddressInList() { + return memberService.memberCoinAddressInList(); + } + + /** + * 添加内转提币地址 + * @return + */ + @ApiOperation(value = "添加内转提币地址", notes = "添加内转提币地址") + @PostMapping(value = "/memberAddCoinAddressIn") + public Result memberAddCoinAddressIn(@RequestBody @Valid MemberAddCoinAddressInDto memberAddCoinAddressDto) { + return memberService.memberAddCoinAddressIn(memberAddCoinAddressDto); + } + + /** + * 提币申请--内转 + * @return + */ + @ApiOperation(value="提交提币申请--内转", notes="提交提币申请--内转") + @PostMapping(value="/memberSubmitCoinApplyIn") + public Result memberSubmitCoinApplyIn(@RequestBody @Valid MemberSubmitCoinApplyInDto memberSubmitCoinApplyInDto) { + return memberService.memberSubmitCoinApplyIn(memberSubmitCoinApplyInDto); + } + + /** + * 删除内转提币地址 + * @return + */ + @ApiOperation(value="删除内转提币地址", notes="删除内转提币地址") + @PostMapping(value="/memberDelCoinAddressIn") + public Result memberDelCoinAddressIn(@RequestBody @Valid MemberDelCoinAddressDto memberDelCoinAddressDto) { + return memberService.memberDelCoinAddressIn(memberDelCoinAddressDto); + } + + } -- Gitblit v1.9.1