待我处理-撤回接口完成

This commit is contained in:
2026-09-15 17:02:53 +08:00
parent 46b50e052e
commit 098e92026e
2 changed files with 40 additions and 61 deletions
+8
View File
@@ -6,4 +6,12 @@ export function myTasksListApi() {
url: `/api/my-tasks`,
method: 'get',
});
}
// 撤回
export function myTasksWithdrawApi(id:number,data: {reason:string}) {
return request({
url: `/api/changes/${id}/withdraw`,
method: 'post',
data,
});
}