1
This commit is contained in:
@@ -38,3 +38,20 @@ export function drainShareLinkPendingQueueOnce() {
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
/** 取消扫描:状态改为 CANCELLED,不再对账入队;队列弹出时跳过 */
|
||||
export function cancelWecomShareLinkJob(data) {
|
||||
return request({
|
||||
url: '/jarvis/wecom/shareLinkLogisticsJob/cancel',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 删除任务行(Redis 中残留同 jobKey 项弹出时会因无库行而跳过) */
|
||||
export function removeWecomShareLinkJob(jobKey) {
|
||||
return request({
|
||||
url: '/jarvis/wecom/shareLinkLogisticsJob/' + encodeURIComponent(jobKey),
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user