|
@@ -65,17 +65,18 @@ public class DiagramController {
|
|
|
/**
|
|
|
* 提供给APM的系统图列表接口
|
|
|
*
|
|
|
+ * @param diagram 请求参数
|
|
|
* @return 系统图列表
|
|
|
*/
|
|
|
@ApiOperation("提供给APM的系统图列表接口")
|
|
|
@PostMapping("/apm/getDiagrams")
|
|
|
- public String getDiagramsForApm() {
|
|
|
+ public String getDiagramsForApm(@RequestBody Map<String, Object> diagram) {
|
|
|
BdtpRequest current = BdtpRequest.getCurrent();
|
|
|
String groupCode = current.getGroupCode();
|
|
|
String projectId = current.getProjectId();
|
|
|
|
|
|
List<Diagram> diagramList = dataStrategy.getDiagrams(null, projectId,
|
|
|
- null, groupCode, null, false);
|
|
|
+ (String) diagram.get("systemId"), groupCode, null, false);
|
|
|
|
|
|
return diagramManager.json4View(ResultHelper.multi(diagramList));
|
|
|
}
|