完善日程提醒功能
This commit is contained in:
@@ -30,7 +30,7 @@ export function createReminder(data) {
|
||||
export function updateReminder(id, data) {
|
||||
return request({
|
||||
url: `/platform/reminder/${id}`,
|
||||
method: "post",
|
||||
method: "put",
|
||||
data,
|
||||
});
|
||||
}
|
||||
@@ -51,3 +51,20 @@ export function batchDeleteReminder(ids) {
|
||||
data: { ids },
|
||||
});
|
||||
}
|
||||
|
||||
/** 测试提醒渠道 */
|
||||
export function testReminder(data) {
|
||||
return request({
|
||||
url: "/platform/reminder/test",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/** 结束提醒 */
|
||||
export function finishReminder(id) {
|
||||
return request({
|
||||
url: `/platform/reminder/${id}/finish`,
|
||||
method: "post",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user