This commit is contained in:
zoujiandong
2025-07-28 08:44:46 +08:00
parent 607ff57b2f
commit 071ab8de73
95 changed files with 76 additions and 51 deletions
+1 -1
View File
@@ -7319,7 +7319,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.100.165,127.0.0.1";
const port = "8090";
const id = "mp-weixin_X0DwRF";
const id = "mp-weixin_zuZz4c";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
+12
View File
@@ -43,6 +43,18 @@ const request = (url, data = {}, method = "post", loading = false, contentType =
}
if (res.data.code == 200) {
e(res);
} else if (res.data.code == 201) {
common_vendor.index.showModal({
title: "提示",
content: "该作品已被删除",
showCancel: false,
success: function(res2) {
if (res2.confirm) {
common_vendor.index.navigateBack();
}
}
});
n(res);
} else if (res.data.code == 401 || res.data.code == 403 || res.data.code == 405 || res.data.code == 406) {
{
let freeList = ["/login/wechat/mobile", "/code/phone", "/login/mobile_login", "/index", "/user/check"];