| | |
| | | import javax.annotation.Resource;
|
| | | import javax.validation.Valid;
|
| | |
|
| | | 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 org.springframework.validation.annotation.Validated;
|
| | | import org.springframework.web.bind.annotation.*;
|
| | |
|
| | | import com.xcong.excoin.common.response.Result;
|
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberAddCoinAddressDto;
|
| | |
| | | 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.dto.MemberUpdateTradersPwdTimeDto;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.AppVersionVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.AppVersionListVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberAuthenticationInfoVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberAvivableCoinInfoVo;
|
| | | import com.xcong.excoin.modules.member.parameter.vo.MemberCoinAddressCountListVo;
|
| | |
| | | * @date 2020-05-18
|
| | | **/
|
| | | @Slf4j
|
| | | @CrossOrigin("*")
|
| | | @Api(value = "个人中心接口", tags = "个人中心接口")
|
| | | @RestController
|
| | | @RequestMapping(value = "/api/member")
|
| | |
| | | /**
|
| | | * 获取当前版本号
|
| | | */
|
| | | @ApiOperation(value="获取当前版本号", notes="获取当前版本号")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = AppVersionVo.class)})
|
| | | @ApiOperation(value="APP端获取当前版本号", notes="获取当前版本号")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = AppVersionListVo.class)})
|
| | | @GetMapping(value = "/getAppVersionInfo")
|
| | | public Result getAppVersionInfo() {
|
| | | return memberService.getAppVersionInfo();
|
| | | }
|
| | | |
| | |
|
| | |
|
| | | /**
|
| | | * 获取当前版本号
|
| | | */
|
| | | @ApiOperation(value="PC端获取当前版本号", notes="获取当前版本号")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = AppVersionListVo.class)})
|
| | | @GetMapping(value = "/getPcVersionInfo")
|
| | | public Result getPcVersionInfo() {
|
| | | return memberService.getPcVersionInfo();
|
| | | }
|
| | |
|
| | |
|
| | | /**
|
| | | * 获取我的信息
|
| | | * @return
|
| | |
| | | */
|
| | | @ApiOperation(value="绑定邮箱", notes="绑定邮箱")
|
| | | @PostMapping(value="/memberBindEmail")
|
| | | public Result memberBindEmail(@RequestBody @Valid MemberBindEmailDto memberBindEmailDto) {
|
| | | public Result memberBindEmail(@RequestBody @Validated MemberBindEmailDto memberBindEmailDto) {
|
| | | return memberService.memberBindEmail(memberBindEmailDto);
|
| | | }
|
| | |
|
| | |
| | | @ApiOperation(value="提交提币申请", notes="提交提币申请")
|
| | | @PostMapping(value="/memberSubmitCoinApply")
|
| | | public Result memberSubmitCoinApply(@RequestBody @Valid MemberSubmitCoinApplyDto memberSubmitCoinApplyDto) {
|
| | | return memberService.memberSubmitCoinApply(memberSubmitCoinApplyDto);
|
| | | return Result.fail("暂未开放提币");
|
| | | // return memberService.memberSubmitCoinApply(memberSubmitCoinApplyDto);
|
| | | }
|
| | |
|
| | | }
|