Browse Source

修改为post接口

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

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

@@ -176,7 +176,7 @@ public class ExperimentInsController extends BaseController {
@PostMapping("/nodeResult")
@ApiOperation("查询实例节点结果")
public GenericsAjaxResult<List> getNodeResult(@RequestBody Map map) throws Exception {
Integer id = (Integer) map.get("id");
Integer id = Integer.parseInt((String) map.get("id"));
String nodeId = (String) map.get("node_id");
return genericsSuccess(this.experimentInsService.getNodeResult(id,nodeId));
}


Loading…
Cancel
Save