feat: kpi指标标题管理接口
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user