This commit is contained in:
2025-11-07 14:40:47 +08:00
parent a411e42094
commit 9672e191e1
4 changed files with 1199 additions and 169 deletions

View File

@@ -176,3 +176,56 @@ export function getRecentLogs(params) {
})
}
// ==================== 批量推送记录相关 ====================
/**
* 获取批量推送记录列表
*/
export function getBatchPushRecords(params) {
return request({
url: '/jarvis/tendoc/batchPushRecords',
method: 'get',
params
})
}
/**
* 获取批量推送记录详情
*/
export function getBatchPushRecordDetail(batchId) {
return request({
url: `/jarvis/tendoc/batchPushRecord/${batchId}`,
method: 'get'
})
}
/**
* 获取推送状态和倒计时信息
*/
export function getPushStatus() {
return request({
url: '/jarvis/tendoc/pushStatus',
method: 'get'
})
}
/**
* 手动触发立即推送
*/
export function triggerPushNow() {
return request({
url: '/jarvis/tendoc/triggerPushNow',
method: 'post'
})
}
/**
* 取消待推送任务
*/
export function cancelPendingPush() {
return request({
url: '/jarvis/tendoc/cancelPendingPush',
method: 'post'
})
}