Browse Source

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

3.0.0/version-upgrade
songjianet 3 years ago committed by GitHub
parent
commit
6f74241100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts

7
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 { export function getAlertPluginInstance(id: IdReq): any {
return axios({ return axios({
url: `/alert-plugin-instances/${id}`, url: `/alert-plugin-instances/${id}`,

Loading…
Cancel
Save