| | |
| | |
|
| | | import com.xcong.excoin.modules.member.parameter.dto.*;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.*;
|
| | | import org.springframework.web.bind.annotation.GetMapping;
|
| | | import org.springframework.web.bind.annotation.PostMapping;
|
| | | import org.springframework.web.bind.annotation.RequestBody;
|
| | | import org.springframework.web.bind.annotation.RequestMapping;
|
| | | import org.springframework.web.bind.annotation.RestController;
|
| | | import com.xcong.excoin.modules.member.vo.DefaultWayVo;
|
| | | import org.springframework.web.bind.annotation.*;
|
| | |
|
| | | import com.xcong.excoin.common.response.Result;
|
| | | import com.xcong.excoin.modules.member.service.MemberService;
|
| | |
| | |
|
| | | @Resource
|
| | | MemberService memberService;
|
| | | |
| | |
|
| | | /**
|
| | | * 获取当前版本号
|
| | | */
|
| | |
| | | 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();
|
| | | }
|
| | |
|
| | | /**
|
| | | * 绑定手机号
|
| | |
| | | return memberService.memberMessageReminder();
|
| | | }
|
| | |
|
| | | /**
|
| | | |
| | | /**
|
| | | * 提币币种信息
|
| | | * @return
|
| | |
| | | @ApiOperation(value = "提币币种可用资金", notes = "提币币种可用资金")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberAvivableCoinInfoVo.class)})
|
| | | @ApiImplicitParams({
|
| | | @ApiImplicitParam(name = "symbol", value = "币种", required = true, dataType = "String", paramType="query")
|
| | | @ApiImplicitParam(name = "symbol", value = "币种", required = true, dataType = "String", paramType="query"),
|
| | | @ApiImplicitParam(name = "label", value = "label", required=false, dataType = "String", paramType="query")
|
| | | })
|
| | | @GetMapping(value = "/memberAvivableCoinInfo")
|
| | | public Result memberAvivableCoinInfo(String symbol) {
|
| | | return memberService.memberAvivableCoinInfo(symbol);
|
| | | public Result memberAvivableCoinInfo(String symbol,String label) {
|
| | | return memberService.memberAvivableCoinInfo(symbol,label);
|
| | | }
|
| | |
|
| | | /**
|