增加首页直播入口

This commit is contained in:
Gao xiaosong
2020-09-07 00:24:14 +08:00
parent c7d20dbf8e
commit 4e0e928850
6 changed files with 705 additions and 112 deletions

17
api/live.js Normal file
View File

@ -0,0 +1,17 @@
import request from "@/utils/request";
/**
* 查询所有直播间
*/
export function yxWechatLive(data) {
return request.get("/yxWechatLive", data, { login: true });
}
/**
* 获取直播回放
*/
export function getLiveReplay(id, data) {
return request.get("/yxWechatLive/getLiveReplay/" + id, data, { login: false });
}