直播一部分
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import router from '@/router';
|
||||
import store from '@/store';
|
||||
import { LiveList, LoginData, UserInfo, VideoInfo } from '@/types';
|
||||
import { LiveList, LivelistInfo, LoginData, UserInfo, VideoInfo } from '@/types';
|
||||
import { saveValue } from '@/utils/common';
|
||||
import { message } from 'ant-design-vue';
|
||||
import { del, get, post, put, setToken } from './base'
|
||||
@@ -135,10 +135,10 @@ export async function getvideolist(): Promise<VideoList[]> {
|
||||
|
||||
|
||||
|
||||
export async function getlivelist(data?:any):Promise<LiveList[]> {
|
||||
export async function getlivelist(data?:any):Promise<LivelistInfo> {
|
||||
const res = await get<Array<LiveList>>('live',data);
|
||||
// console.log(res);
|
||||
return res.data
|
||||
console.log(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user