This commit is contained in:
unknown 2020-11-30 15:51:39 +08:00
parent d6565eee44
commit 61e2402a64
2 changed files with 4 additions and 4 deletions

4
dist/js/common.js vendored
View File

@ -180,9 +180,9 @@ function setBtnClickFuc() {
})
const jieshu = new Promise((res)=>{
$.ajax({
url: window.url + 'live?liveid=' + window.liveid,
url: window.url + 'live/' + window.liveid,
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
method:"POST",
method:"PUT",
data:{
status: 2
},

View File

@ -180,9 +180,9 @@ function setBtnClickFuc() {
})
const jieshu = new Promise((res)=>{
$.ajax({
url: window.url + 'live?liveid=' + window.liveid,
url: window.url + 'live/' + window.liveid,
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
method:"POST",
method:"PUT",
data:{
status: 2
},