修改启动按钮

This commit is contained in:
GGJ
2025-01-09 10:16:44 +08:00
parent 979765db76
commit 8490cbb68e
2 changed files with 56 additions and 15 deletions

View File

@@ -100,3 +100,19 @@ export const deleteTimer = (data: any) => {
data: data
})
}
// 关闭任务
export const stop = (params: any) => {
return request({
url: '/system-boot/timer/stop',
method: 'get',
params
})
}
// 启动任务
export const start = (params: any) => {
return request({
url: '/system-boot/timer/start',
method: 'get',
params
})
}