feat: depoly model advanced

This commit is contained in:
jialin
2024-09-04 14:32:36 +08:00
parent 01101678b3
commit ca595da0c7
23 changed files with 1032 additions and 217 deletions
+7
View File
@@ -29,3 +29,10 @@ export async function deleteWorker(id: string | number) {
method: 'DELETE'
});
}
export async function updateWorker(id: string | number, data: any) {
return request(`${WORKERS_API}/${id}`, {
method: 'PUT',
data
});
}