This commit is contained in:
lzp
2026-03-30 16:18:20 +08:00
parent f329165faf
commit 1789792067
2 changed files with 7 additions and 4 deletions

View File

@@ -47,7 +47,8 @@ export const getProjectList = (params) => {
return request({
url: `/api/project/list`,
method: 'get',
params
params,
loading: true,
})
}
@@ -66,7 +67,8 @@ export const updateProject = (id: string, data: Object) => {
return request({
url: `/api/project/${id}`,
method: 'put',
data
data,
loading: true,
})
}
/**
@@ -77,7 +79,8 @@ export const updateProject = (id: string, data: Object) => {
export const deleteProject = (id: string) => {
return request({
url: `/api/project/${id}`,
method: 'delete'
method: 'delete',
loading: true,
})
}