111
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
@@ -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
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user