| | |
| | | import org.springframework.web.bind.annotation.RestController;
|
| | |
|
| | | import com.xcong.excoin.common.response.Result;
|
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberAddCoinAddressDto;
|
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberAuthenticationDto;
|
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberBindEmailDto;
|
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberBindPhoneDto;
|
| | |
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberUpdatePwdDto;
|
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberUpdateTradePwdDto;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberCoinAddressCountListVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberCoinAddressListVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberInfoVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberPaymethodDetailListVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberPaymethodDetailVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberSendCodeWayVo;
|
| | | import com.xcong.excoin.modules.member.service.MemberService;
|
| | |
|
| | | import io.swagger.annotations.Api;
|
| | |
| | | }
|
| | |
|
| | | /**
|
| | | * 获取币种地址数量
|
| | | * 获取币种地址
|
| | | * @return
|
| | | */
|
| | | @ApiOperation(value = "获取币种地址数量", notes = "获取币种地址数量")
|
| | |
| | | }
|
| | |
|
| | | /**
|
| | | * 获取提币地址列表
|
| | | *
|
| | | * @param pageNumber
|
| | | * @param pageSize
|
| | | * @param token
|
| | | * 获取提币地址
|
| | | * @return
|
| | | |
| | | @ApiOperation(value = "获取地址列表", notes = "获取地址列表")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberPaymethodDetailVo.class)})
|
| | | */
|
| | | @ApiOperation(value = "获取提币地址列表", notes = "获取提币地址列表")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberCoinAddressListVo.class)})
|
| | | @ApiImplicitParams({
|
| | | @ApiImplicitParam(name = "id", value = "ID", required = true, dataType = "long", paramType="query")
|
| | | @ApiImplicitParam(name = "symbol", value = "币种", required = true, dataType = "String", paramType="query")
|
| | | })
|
| | | @GetMapping(value = "/memberCoinAddressList")
|
| | | public Result memberCoinAddressList(String pageNumber, String pageSize, Long symbolsId, @RequestHeader(value = "token", required = true) String token) {
|
| | | return memberService.memberCoinAddressList(token, pageNumber, pageSize, symbolsId);
|
| | | }*/
|
| | | public Result memberCoinAddressList(String symbol) {
|
| | | return memberService.memberCoinAddressList(symbol);
|
| | | }
|
| | | |
| | | /**
|
| | | * 添加提币地址
|
| | | *
|
| | | * @param token
|
| | | * @return
|
| | | */
|
| | | @ApiOperation(value = "添加提币地址", notes = "添加提币地址")
|
| | | @PostMapping(value = "/memberAddCoinAddress")
|
| | | public Result memberAddCoinAddress(@RequestBody @Valid MemberAddCoinAddressDto memberAddCoinAddressDto) {
|
| | | return memberService.memberAddCoinAddress(memberAddCoinAddressDto);
|
| | | }
|
| | | |
| | | /**
|
| | | * 获取发送验证码途径
|
| | | * @return
|
| | | */
|
| | | @ApiOperation(value = "获取发送验证码途径", notes = "获取发送验证码途径")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberSendCodeWayVo.class)})
|
| | | @GetMapping(value = "/memberSendCodeWay")
|
| | | public Result memberSendCodeWay() {
|
| | | return memberService.memberSendCodeWay();
|
| | | }
|
| | |
|
| | |
|
| | |
|