1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { post, del } from '../../utils/http'
// 获取接口方法列表
export function getInterfaceList(params) {
return post('/workflow/event/interface/list', params)
}
// 新增接口
export function addInterface(params) {
return post('/workflow/event/interface', params)
}
// 编辑接口
export function editInterface(params) {
return post('/workflow/event/interface', params)
}
// 删除接口
export function delInterface(params) {
return del(`/workflow/event/interface/${params}`)
}
// 获取实现类
export function getImplements(params) {
return post('/workflow/event/interface/find/implements', params)
}
// 获取实现类的方法
export function getImplementMethod(params) {
return post('/workflow/event/interface/find/all/methods', params)
}
// 查询接口方法列表
export function getMethod(params) {
return post('/workflow/event/interface/list/method', params)
}
// 新增方法
export function addMethod(params) {
return post('/workflow/event/interface/add/method', params)
}
// 编辑方法
export function editMethod(params) {
return post('/workflow/event/interface/modify/method', params)
}
// 删除方法
export function delMethod(params) {
return post('/workflow/event/interface/delete/method', params)
}