111
This commit is contained in:
+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