日历修改

This commit is contained in:
2020-10-16 08:59:17 +08:00
parent 7bf5fc86de
commit ad1c54fdc9
3 changed files with 26 additions and 3 deletions

View File

@@ -371,4 +371,15 @@ export async function getliveinfo(id: number){
const liveinfo = (await get<LiveInfo>(`live/${id}`)).data;
const studentlist = (await get<StudentList[]>("studentLive",{id})).data;
return {...liveinfo,studentlist}
}
}
/**
* 直播日历
*/
export async function getdatelist(start: string, end: string) {
return (await get("teacherCalendar")).data
}