| | |
| | | return new FebsResponse().success().data(dappWalletService.recordInPage(recordInPageDto)); |
| | | } |
| | | |
| | | @ApiOperation(value = "计算最新价", notes = "计算最新价") |
| | | @PostMapping(value = "/calPrice") |
| | | public FebsResponse calPrice(@RequestBody PriceDto priceDto) { |
| | | return new FebsResponse().success().data(dappWalletService.calPrice(priceDto)); |
| | | } |
| | | |
| | | @ApiOperation(value = "系统参数", notes = "系统参数") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = SystemDto.class) |
| | |
| | | public FebsResponse team(@RequestBody TeamListDto teamListDto) { |
| | | return new FebsResponse().success().data(dappMemberService.findTeamList(teamListDto)); |
| | | } |
| | | |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ActiveNftListVo.class) |
| | | }) |
| | | @ApiOperation(value = "开盲盒", notes = "开盲盒") |
| | | @PostMapping(value = "/boxSurprise") |
| | | public FebsResponse boxSurprise() { |
| | | ActiveNftListVo data = dappWalletService.boxSurprise(); |
| | | return new FebsResponse().success().data(data); |
| | | // return new FebsResponse().fail().message(MessageSourceUtils.getString("box_surprise_002")); |
| | | } |
| | | |
| | | @ApiOperation(value = "激活卡牌", notes = "激活卡牌") |
| | | @PostMapping(value = "/activeNft") |
| | | public FebsResponse activeNft(@RequestBody @Valid ActiveDto activeDto) { |
| | | dappWalletService.activeNft(activeDto); |
| | | return new FebsResponse().success().message(MessageSourceUtils.getString("nft_active_002")); |
| | | } |
| | | |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ActiveNftListVo.class) |
| | | }) |
| | | @ApiOperation(value = "卡牌列表", notes = "卡牌列表") |
| | | @PostMapping(value = "/findNftList") |
| | | public FebsResponse findNftList() { |
| | | return new FebsResponse().success().data(dappWalletService.findUnActiveNftList()); |
| | | } |
| | | |
| | | |
| | | @PostMapping(value = "/logout") |
| | | public FebsResponse logout() { |