From 61e2402a6488c209570c3c83129a10e45d798a17 Mon Sep 17 00:00:00 2001 From: unknown <1162963624@qq.com> Date: Mon, 30 Nov 2020 15:51:39 +0800 Subject: [PATCH] dist --- dist/js/common.js | 4 ++-- public/js/common.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/js/common.js b/dist/js/common.js index af3231a..b5edbdf 100644 --- a/dist/js/common.js +++ b/dist/js/common.js @@ -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 }, diff --git a/public/js/common.js b/public/js/common.js index af3231a..b5edbdf 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -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 },