Browse Source

优化查询模型版本指标对比

dev-czh
chenzhihang 1 year ago
parent
commit
a4f7e15039
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/controller/model/NewModelFromGitController.java

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

@@ -86,9 +86,9 @@ public class NewModelFromGitController {
return AjaxResult.success(this.modelsService.queryVersions(pageRequest, identifier, owner, type)); return AjaxResult.success(this.modelsService.queryVersions(pageRequest, identifier, owner, type));
} }


@GetMapping("/queryVersionsMetrics")
@PostMapping("/queryVersionsMetrics")
@ApiOperation("查询版本指标") @ApiOperation("查询版本指标")
public AjaxResult queryVersionsMetrics(@RequestParam("params") List<ModelDependency1> params, @RequestParam("type") String type) throws Exception {
public AjaxResult queryVersionsMetrics(@RequestBody List<ModelDependency1> params, @RequestParam("type") String type) throws Exception {
return AjaxResult.success(this.modelsService.queryVersionsMetrics(params, type)); return AjaxResult.success(this.modelsService.queryVersionsMetrics(params, type));
} }




Loading…
Cancel
Save