| | |
| | | public class ApiCommonController { |
| | | |
| | | private final DappMemberService dappMemberService; |
| | | private final DappSystemService dappSystemService; |
| | | @Autowired |
| | | private ChainProducer chainProducer; |
| | | |
| | | @ApiOperation(value = "地址是否存在", notes = "地址是否存在") |
| | | @GetMapping(value = "/exist/{address}") |
| | |
| | | @PostMapping(value = "/connect") |
| | | public FebsResponse connect(@RequestBody ConnectDto connectDto) { |
| | | dappMemberService.connect(connectDto); |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | | @ApiOperation(value = "根据flowID,重新消费", notes = "根据flowID,重新消费") |
| | | @GetMapping(value = "/sendFlow/{flowId}") |
| | | public FebsResponse sendFlow(@PathVariable("flowId") String flowId) { |
| | | chainProducer.sendContractAnDao(Long.parseLong(flowId)); |
| | | return new FebsResponse().success(); |
| | | } |
| | | |