pull/1/head
LiuJiaNan 2024-02-27 09:28:08 +08:00
parent 57c0b9a589
commit 60eae2d306
1 changed files with 0 additions and 6 deletions

View File

@ -81,12 +81,6 @@ export function post(url, params) {
},
})
.then((res) => {
if (
res.config.url === "/app/audioOrVideo/createUploadVideo" ||
res.config.url === "/app/audioOrVideo/refreshUploadVideo"
) {
res.data.result = "success";
}
if (res.data.result === "success") {
if (res.config.url.split("/")[1] === "positAlarm") {
if (res.data.code === 200 || res.data.code === 0) resolve(res.data);