提现优化更新
This commit is contained in:
10
http/http.js
10
http/http.js
@@ -122,14 +122,12 @@ function commonsProcess(showLoading, httpReqCallback, isreturm) {
|
||||
}
|
||||
|
||||
if (res.code == 401) {
|
||||
infoBox.showToast(res.message || "请登录").then(() => {
|
||||
uni.redirectTo({
|
||||
url: "/pages/login/login",
|
||||
});
|
||||
reject();
|
||||
uni.redirectTo({
|
||||
url: "/pages/login/login",
|
||||
});
|
||||
reject();
|
||||
}
|
||||
if (res.code != 0) {
|
||||
if (res.code != 0&&res.code != 401) {
|
||||
infoBox.showToast(res.msg).then(() => {});
|
||||
reject();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user