Merge pull request '直播结束' (#190) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/190
This commit is contained in:
luyuan 2020-11-30 15:49:55 +08:00
commit 25f7a99ed7
4 changed files with 6 additions and 6 deletions

4
dist/js/common.js vendored
View File

@ -172,7 +172,7 @@ function setBtnClickFuc() {
const jiekou = new Promise((res)=>{
$.ajax({
url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
headers: "Bearer " + localStorage.getItem("token"),
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
success(){
res(1)
}
@ -181,7 +181,7 @@ function setBtnClickFuc() {
const jieshu = new Promise((res)=>{
$.ajax({
url: window.url + 'live?liveid=' + window.liveid,
headers: "Bearer " + localStorage.getItem("token"),
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
method:"POST",
data:{
status: 2

View File

@ -63,7 +63,7 @@ function genTestUserSig(userID) {
return new Promise((res)=>{
$.ajax({
url: window.url + 'userSig?userid=' + userID,
headers: "Bearer " + localStorage.getItem("token"),
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
success(data){
res({data: data.data, id: 1400435767})
}

View File

@ -172,7 +172,7 @@ function setBtnClickFuc() {
const jiekou = new Promise((res)=>{
$.ajax({
url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
headers: "Bearer " + localStorage.getItem("token"),
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
success(){
res(1)
}
@ -181,7 +181,7 @@ function setBtnClickFuc() {
const jieshu = new Promise((res)=>{
$.ajax({
url: window.url + 'live?liveid=' + window.liveid,
headers: "Bearer " + localStorage.getItem("token"),
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
method:"POST",
data:{
status: 2

View File

@ -63,7 +63,7 @@ function genTestUserSig(userID) {
return new Promise((res)=>{
$.ajax({
url: window.url + 'userSig?userid=' + userID,
headers: "Bearer " + localStorage.getItem("token"),
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
success(data){
res({data: data.data, id: 1400435767})
}