分享和乱七八糟的东西
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user