处理待办事项
This commit is contained in:
17
api/index.ts
17
api/index.ts
@@ -91,3 +91,20 @@ export function fetchTodoList(data : {}) {
|
||||
method: 'POST'
|
||||
});
|
||||
}
|
||||
|
||||
// 编辑待办
|
||||
export function fetchEditTodo(data : {}) {
|
||||
return request({
|
||||
url: '/index/editTodo',
|
||||
data: data,
|
||||
method: 'POST'
|
||||
});
|
||||
}
|
||||
// 编辑待办
|
||||
export function fetchAddTodo(data : {}) {
|
||||
return request({
|
||||
url: '/index/addTodo',
|
||||
data: data,
|
||||
method: 'POST'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user