35 lines
870 B
Java
35 lines
870 B
Java
package io.dataease.controller.panel;
|
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
|
|
import io.dataease.commons.model.BaseRspModel;
|
|
import io.dataease.service.panel.PanelGroupService;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
/**
|
|
* Author: wangjiahao
|
|
* Date: 2021-03-05
|
|
* Description:
|
|
*/
|
|
@Api(tags = "仪表板:设计")
|
|
@ApiSupport(order = 140)
|
|
@RestController
|
|
@RequestMapping("panel/design")
|
|
public class PanelDesignController {
|
|
|
|
@Resource
|
|
private PanelGroupService panelGroupService;
|
|
|
|
@ApiOperation("保存仪表板设计")
|
|
@PostMapping("/saveDesign/{id}")
|
|
public BaseRspModel deleteCircle(@PathVariable String id) {
|
|
panelGroupService.deleteCircle(id);
|
|
return new BaseRspModel();
|
|
}
|
|
|
|
|
|
}
|