| | |
| | | |
| | | @ApiOperation("发送读取ide节点数据命令") |
| | | @PostMapping("sendNode") |
| | | //@ApiImplicitParam(name = "file", value = "上传的文件", dataTypeClass = MultipartFile.class, required = false,paramType = "form") |
| | | public Response sendNode(@RequestParam(value = "file",required = false) MultipartFile file,@RequestParam String json){ |
| | | ConnectInf cinf= ActionUtil.getGson().fromJson(json,ConnectInf.class); |
| | | return service.sendNode(file,cinf); |
| | | } |
| | | |
| | | @ApiOperation("ide断开链接") |
| | | @GetMapping("breakNode") |
| | | public Response breakNode(){ |
| | | return service.breakNode(); |
| | | } |
| | | } |