分享和乱七八糟的东西

This commit is contained in:
asd
2020-10-12 17:27:05 +08:00
parent ab2be88b14
commit 3dca24773b
12 changed files with 334 additions and 56 deletions

View File

@@ -161,4 +161,24 @@ interface LiveList {
export async function getlivelist() {
const res = await get<Array<LiveList>>('live');
console.log(res);
}
/**
* 列表统计
*/
interface StatisticList{
liveInfo: any;
videoInfo: any;
studentInfo: any;
}
export async function getstatisticlist() {
const res = await get<StatisticList>('statistics');
// console.log(res)
return {
liveInfo: res.data?.liveInfo,
videoInfo:res.data?.videoInfo,
studentInfo:res.data?.studentInfo
}
}