dist #191

Merged
theluyuan merged 1 commits from xbx into master 2020-11-30 07:51:54 +00:00
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)=>{ const jieshu = new Promise((res)=>{
$.ajax({ $.ajax({
url: window.url + 'live?liveid=' + window.liveid, url: window.url + 'live/' + window.liveid,
headers: { "Authorization": "Bearer " + localStorage.getItem("token")}, headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
method:"POST", method:"PUT",
data:{ data:{
status: 2 status: 2
}, },

View File

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