feat: kpi指标标题管理接口

This commit is contained in:
TsMask
2025-08-21 11:03:08 +08:00
parent 2bf2ff5947
commit a382fcd05f
6 changed files with 270 additions and 25 deletions

View File

@@ -71,7 +71,7 @@ func (s KPICController) KPIData(c *gin.Context) {
// 自定义标题列表
//
// GET /titlelist
// GET /title/list
func (s KPICController) ListTitle(c *gin.Context) {
query := reqctx.QueryMap(c)
if v, ok := query["status"]; ok && v == "" {
@@ -156,7 +156,7 @@ func (s KPICController) EditTitle(c *gin.Context) {
// 自定义标题删除
//
// DELETE /title/:id
// DELETE /title
func (s KPICController) RemoveTitle(c *gin.Context) {
language := reqctx.AcceptLanguage(c)
id := c.Query("id")