You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
458 B

1 month ago
import axios from "axios";
export function openDevice(data){
console.log("连接读卡器")
return axios({
url:'http:127.0.0.1:19196/OpenDevice',
method:'GET'
})
}
export function readIdCard(data){
console.log("读身份证")
return axios({
url:'http:127.0.0.1:19196/readcard',
method:'GET'
})
}
export function closeDevice(data){
console.log("关闭读卡器")
return axios({
url:'http:127.0.0.1:19196/CloseDevice',
method:'GET'
})
}