Files
pqs-9100_client/frontend/src/api/detection/lock.ts

16 lines
445 B
TypeScript
Raw Normal View History

import http from '@/api'
import type { DetectionLockHolder } from '@/stores/modules/detectionLock'
/**
*
* - data null
* - data null
*
* , DETECTION_BUSY
*/
export const getCurrentLock = () => {
return http.get<DetectionLockHolder | null>('/detection/lock/current', undefined, {
loading: false
})
}