提现优化更新

This commit is contained in:
GaoHao
2025-01-22 10:38:43 +08:00
parent fa809e7b0b
commit f8bd53596b
4 changed files with 39 additions and 11 deletions

View File

@@ -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();
}