Merge pull request 'dist' (#191) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/191
This commit is contained in:
luyuan 2020-11-30 15:51:54 +08:00
commit f0c50ea434
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
},