| | |
| | | @ApiOperation(value = "链接接口", notes = "链接接口") |
| | | @PostMapping(value = "/connect") |
| | | public FebsResponse connect(@RequestBody ConnectDto connectDto) { |
| | | dappMemberService.connect(connectDto); |
| | | return new FebsResponse().success(); |
| | | // dappMemberService.connect(connectDto); |
| | | return new FebsResponse().fail("暂无法连接"); |
| | | } |
| | | |
| | | @ApiOperation(value = "头部数据", notes = "头部数据") |
| | | @GetMapping(value = "/totalIncome") |
| | | public FebsResponse totalIncome() { |
| | | return new FebsResponse().success().data(dappSystemService.findTotalInComeAndList()); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "价格", notes = "价格") |
| | | @GetMapping(value = "/price") |
| | | public FebsResponse price() { |
| | | return new FebsResponse().success().data(dappSystemService.findPriceListIn24H()); |
| | | } |
| | | |
| | | @PostMapping(value = "/encrypt") |