anxiao_web/pages/newIntelligenceEarlyWarning/api/getPoliceAlarm.js

15 lines
452 B
JavaScript
Raw Permalink Normal View History

2024-07-24 09:22:32 +08:00
import { stationurl} from "../../../public/js/url.js";
//查询德尚安的固定报警
function getPoliceAlarm(data){
if(stationurl=="http://43.15.198.61:8083"){//内网
var url=stationurl+"/firectrl/skynet/facealarm/getlist";
}else{//外网代理
var url=stationurl+"/firectrl/skynet/facealarm/getlist_agent";
}
return axios({
method: 'post',
url:url,
data:data
})
}
export {getPoliceAlarm}