Commit ece85e34 authored by linruibiao's avatar linruibiao

整改接口

parent 13152cd7
...@@ -39,7 +39,7 @@ public class InstrumentPanelConfigController { ...@@ -39,7 +39,7 @@ public class InstrumentPanelConfigController {
} }
@GetMapping("/{panelId}") @GetMapping("/{panelId}")
@ApiOperation("根据仪表板id获取仪表板配置") @ApiOperation("根据仪表板id获取仪表板配置,并且获取到组件")
@ApiImplicitParam(name = "panelId", value = "仪表板id") @ApiImplicitParam(name = "panelId", value = "仪表板id")
public R<InstrumentPanelConfigVo> getConfigByPanelId( public R<InstrumentPanelConfigVo> getConfigByPanelId(
@PathVariable("panelId") String panelId) { @PathVariable("panelId") String panelId) {
......
...@@ -46,11 +46,6 @@ public class InstrumentPanelGroupController { ...@@ -46,11 +46,6 @@ public class InstrumentPanelGroupController {
return R.ok(instrumentPanelGroupService.children(groupId, name)); return R.ok(instrumentPanelGroupService.children(groupId, name));
} }
@GetMapping("/selectInstrumentPanelGroups")
@ApiOperation("获取所有的仪表板分组以及分组下的仪表板以及仪表板下的组件")
public R<List<InstrumentPanelGroupVo>> selectInstrumentPanelGroups() {
return R.ok(instrumentPanelGroupService.selectGroupList());
}
@PostMapping @PostMapping
@ApiOperation("保存仪表板分组") @ApiOperation("保存仪表板分组")
......
...@@ -22,5 +22,7 @@ public class InstrumentPanelConfigDTO { ...@@ -22,5 +22,7 @@ public class InstrumentPanelConfigDTO {
private String configDetails; private String configDetails;
@ApiModelProperty(value = "访问权限", required = true) @ApiModelProperty(value = "访问权限", required = true)
private InstrumentPanelPermissionDTO visitPermission; private InstrumentPanelPermissionDTO visitPermission;
@ApiModelProperty(value = "组件结构", required = true)
private String assembly;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment