添加了请求权限
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user