This commit is contained in:
zoujiandong 2025-06-18 18:23:35 +08:00
parent debbf34b73
commit 30b08f1933
5 changed files with 11 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -7255,7 +7255,7 @@ function initOnError() {
function initRuntimeSocketService() { function initRuntimeSocketService() {
const hosts = "192.168.100.165,127.0.0.1"; const hosts = "192.168.100.165,127.0.0.1";
const port = "8090"; const port = "8090";
const id = "mp-weixin_Al7yez"; const id = "mp-weixin_8ivK-6";
const lazy = typeof swan !== "undefined"; const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => { let restoreError = lazy ? () => {
} : initOnError(); } : initOnError();

View File

@ -1,2 +0,0 @@
"use strict";
//# sourceMappingURL=../../.sourcemap/mp-weixin/utils/cookie.js.map

View File

@ -56,6 +56,10 @@ const request = (url, data = {}, method = "post", loading = false, contentType =
} }
} }
} else if (res.data.code == 500) { } else if (res.data.code == 500) {
common_vendor.index.showToast({
title: res.data.message,
icon: "none"
});
n(res); n(res);
} else { } else {
common_vendor.index.showToast({ common_vendor.index.showToast({

View File

@ -134,6 +134,11 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
} }
} else if (res.data.code == 500) { } else if (res.data.code == 500) {
uni.showToast({
title: res.data.message,
icon: 'none',
})
n(res) n(res)
} else { } else {
uni.showToast({ uni.showToast({