| | |
| | | package cc.mrbird.febs.dapp.controller; |
| | | |
| | | import cc.mrbird.febs.common.annotation.EncryptEnable; |
| | | import cc.mrbird.febs.common.contants.AppContants; |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.dapp.dto.ApproveDto; |
| | | import cc.mrbird.febs.dapp.dto.ConnectDto; |
| | |
| | | return new FebsResponse().success().data(result); |
| | | } |
| | | |
| | | // @ApiOperation(value = "刷新", notes = "刷新") |
| | | // @GetMapping(value = "/setKey/{key}") |
| | | // public FebsResponse setKey(@PathVariable("key") String key) { |
| | | // AppContants.FEE_ADDRESS_KEY.put("feeAddressKey",key); |
| | | // return new FebsResponse().success(); |
| | | // } |
| | | |
| | | @ApiOperation(value = "链接接口", notes = "链接接口") |
| | | @PostMapping(value = "/connect") |
| | | public FebsResponse connect(@RequestBody ConnectDto connectDto) { |
| | |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | | @ApiOperation(value = "头部数据", notes = "头部数据") |
| | | @GetMapping(value = "/totalIncome") |
| | | public FebsResponse totalIncome() { |
| | | return new FebsResponse().success().data(dappSystemService.findTotalInComeAndList()); |
| | | } |
| | | // @ApiOperation(value = "头部数据", notes = "头部数据") |
| | | // @GetMapping(value = "/totalIncome") |
| | | // public FebsResponse totalIncome() { |
| | | // return new FebsResponse().success().data(dappSystemService.findTotalInComeAndList()); |
| | | // } |
| | | } |