anxiao_web/pages/newIntelligenceEarlyWarning/api/getFaceAlarmBlacklistSummar...

14 lines
467 B
JavaScript

import { stationurl} from "../../../public/js/url.js";
function getFaceAlarmBlacklistSummary(data){
if(stationurl=="http://43.15.198.61:8083"){//内网
var url=stationurl+"/firectrl/skynet/facealarm/blacklist/summary";
}else{//外网代理
var url=stationurl+"/firectrl/skynet/facealarm/blacklist/summary_agent";
}
return axios({
method: 'post',
url:url,
data:data
})
}
export {getFaceAlarmBlacklistSummary}