流程部署
This commit is contained in:
@ -6,15 +6,30 @@ export const listAllCategory = (query) =>
|
||||
method: "get",
|
||||
params: query,
|
||||
});
|
||||
|
||||
export const addCategory = (data) =>
|
||||
request({
|
||||
url: "/flowable/category",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
|
||||
export const delCategory = (ids) =>
|
||||
request({
|
||||
url: "/flowable/category",
|
||||
method: "delete",
|
||||
data: { ids }
|
||||
});
|
||||
|
||||
export const getCategory = (categoryId) =>
|
||||
request({
|
||||
url: `/flowable/category/${categoryId}`,
|
||||
method: "get",
|
||||
});
|
||||
|
||||
export const updateCategory = (data) =>
|
||||
request({
|
||||
url: `/flowable/category`,
|
||||
method: "put",
|
||||
data
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user