添加了请求权限

This commit is contained in:
2020-10-25 20:56:40 +08:00
parent eee433837d
commit aa0b492cf8
3 changed files with 61 additions and 19 deletions

View File

@@ -923,4 +923,14 @@ export async function setlive(data: any){
const info = await put("live/" + data.id, data)
console.log(info.data)
}
export async function getlivest() {
const res = await get<any>("checkReleaseLive");
if(res.data.status != 0) {
return res.data;
} else {
return false;
}
}