anxiao_web/pages/newIndex/js/orgApi/getYearTime.js

31 lines
640 B
JavaScript
Raw Normal View History

2024-07-24 09:22:32 +08:00
import { stationurl,brigade } from "../../../../public/js/url.js";
function getYearStarTime(){
var data={
"brigade":brigade,
"type":"star"
}
var loginurl=stationurl+"/iotserver/school/timelabel/getlist";
return axios({
method: 'post',
url:loginurl,
data: data
})
}
function getYearColorTime(){
var data={
"brigade":brigade,
"type":"color"
}
var loginurl=stationurl+"/iotserver/school/timelabel/getlist";
return axios({
method: 'post',
url:loginurl,
data: data
})
}
export {
getYearStarTime,
getYearColorTime
}