| | |
| | | import com.xcong.excoin.modules.coin.parameter.dto.RecordsPageDto;
|
| | | import com.xcong.excoin.modules.member.parameter.dto.*;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.*;
|
| | | import com.xcong.excoin.modules.member.vo.DefaultWayVo;
|
| | | import org.springframework.validation.annotation.Validated;
|
| | | import org.springframework.web.bind.annotation.*;
|
| | |
|
| | |
| | | public Result memberPaymethodDetailList() {
|
| | | return memberService.memberPaymethodDetailList();
|
| | | }
|
| | |
|
| | | @ApiOperation(value = "设置为默认收款方式")
|
| | | @PostMapping(value = "/setDefaultMethod/{id}")
|
| | | public Result setDefaultMethod(@PathVariable("id") Long id) {
|
| | | return memberService.setDefaultPaymethod(id);
|
| | | }
|
| | |
|
| | | @ApiOperation(value = "获取我的默认收款方式", notes = "获取我的默认收款方式")
|
| | | @ApiResponses({
|
| | | @ApiResponse(code = 200, message = "获取成功", response = DefaultWayVo.class)
|
| | | })
|
| | | @GetMapping(value = "/findDefaultWay")
|
| | | public Result findDefaultWay() {
|
| | | return memberService.findDefaultWay();
|
| | | }
|
| | |
|
| | | /**
|
| | | * 绑定手机号
|
| | |
| | | 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);
|
| | | }
|
| | |
|
| | |
|
| | | }
|