Browse Source

[Fix][UI Next] Fix alert plugin api. (#8211)

songjianet 3 years ago
parent
commit
6f74241100

+ 7 - 0
dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts

@@ -48,6 +48,13 @@ export function verifyAlertInstanceName(params: InstanceNameReq): any {
   })
 }
 
+export function queryAlertPluginInstanceList(): any {
+  return axios({
+    url: '/alert-plugin-instances/list',
+    method: 'get'
+  })
+}
+
 export function getAlertPluginInstance(id: IdReq): any {
   return axios({
     url: `/alert-plugin-instances/${id}`,