Ver código fonte

feat(adm-diagram): 剔除不需要的参数

liyang 2 anos atrás
pai
commit
5b912cae14

+ 1 - 2
adm-business/adm-diagram/src/main/java/com/persagy/adm/diagram/controller/DiagramController.java

@@ -65,12 +65,11 @@ public class DiagramController {
     /**
      * 提供给APM的系统图列表接口
      *
-     * @param diagram 请求参数
      * @return 系统图列表
      */
     @ApiOperation("提供给APM的系统图列表接口")
     @PostMapping("/apm/getDiagrams")
-    public String getDiagramsForApm(@RequestBody Map<String, Object> diagram) {
+    public String getDiagramsForApm() {
         BdtpRequest current = BdtpRequest.getCurrent();
         String groupCode = current.getGroupCode();
         String projectId = current.getProjectId();