17 lines
383 B
JavaScript
17 lines
383 B
JavaScript
|
import { stationurl,brigade } from "../../../../public/js/url.js";
|
||
|
function getPoliceAlarmLast(){
|
||
|
var data={
|
||
|
"brigade":brigade,
|
||
|
"limit":10,
|
||
|
"readState":"unread"
|
||
|
}
|
||
|
var loginurl=stationurl+"/firectrl/skynet/facealarm/getlast";
|
||
|
return axios({
|
||
|
method: 'post',
|
||
|
url:loginurl,
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
export {getPoliceAlarmLast}
|
||
|
|