20 lines
379 B
JavaScript
20 lines
379 B
JavaScript
|
import { stationurl,brigade } from "../../../../public/js/url.js";
|
||
|
//获取学校最新数据
|
||
|
function getSchoolNewsLast(){
|
||
|
var data={
|
||
|
"brigade":brigade,
|
||
|
"limit":5
|
||
|
}
|
||
|
var loginurl=stationurl+"/firectrl/school/news/getlast";
|
||
|
return axios({
|
||
|
method: 'post',
|
||
|
url:loginurl,
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
export {
|
||
|
getSchoolNewsLast
|
||
|
}
|