Merge pull request '直播结束' (#190) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/190
This commit is contained in:
commit
25f7a99ed7
4
dist/js/common.js
vendored
4
dist/js/common.js
vendored
@ -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
|
||||
|
2
dist/js/debug/GenerateTestUserSig.js
vendored
2
dist/js/debug/GenerateTestUserSig.js
vendored
@ -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})
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user