CN-1173 fix: 检测功能UI开发与接口对接
This commit is contained in:
@@ -139,13 +139,13 @@ export const api = {
|
||||
},
|
||||
list: apiVersion + '/rule/detection/list', // 检测规则列表
|
||||
detail: apiVersion + '/rule/detection', // 检测规则详情
|
||||
delete: apiVersion + '/rule', // 检测规则删除
|
||||
delete: apiVersion + '/rule/detection', // 检测规则删除
|
||||
// 获取单位列表,如source、type、metric等
|
||||
statistics: apiVersion + '/detection/statistics',
|
||||
statistics: apiVersion + '/rule/detection/statistics',
|
||||
// 规则新建模块
|
||||
create: {
|
||||
topKeys: apiVersion + '/detection/topKeys', // topKeys列表
|
||||
create: apiVersion + '/rule/detection/create' // todo 规则新建编辑,此api为模拟,后续需要修改
|
||||
create: apiVersion + '/rule/detection'
|
||||
}
|
||||
},
|
||||
// Dashboard
|
||||
|
||||
Reference in New Issue
Block a user