Browse Source

修改为post接口

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

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

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



Loading…
Cancel
Save