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