待我处理-撤回接口完成
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user