Browse Source

修改为post接口

pull/10/head
fanshuai 1 year ago
parent
commit
882fe01af8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/controller/experiment/ExperimentInsController.java

+ 2
- 2
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/controller/experiment/ExperimentInsController.java View File

@@ -173,9 +173,9 @@ public class ExperimentInsController extends BaseController {
*
* @return 运行日志
*/
@GetMapping("/nodeResult")
@PostMapping("/nodeResult")
@ApiOperation("查询实例节点结果")
public GenericsAjaxResult<List> getNodeResult(@PathVariable("id") Integer id, @PathVariable("node_id") String nodeId) throws Exception {
public GenericsAjaxResult<List> getNodeResult(@RequestParam("id") Integer id, @RequestParam("node_id") String nodeId) throws Exception {
return genericsSuccess(this.experimentInsService.getNodeResult(id,nodeId));
}



Loading…
Cancel
Save