anxiao_web/pages/newIntelligenceEarlyWarning/api/getPoliceAlarm.js

15 lines
452 B
JavaScript

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}