From f68d8068a8a08ca62c37bab02bd8f85bf20a70c7 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Fri, 18 Oct 2024 18:42:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E6=98=93=E5=85=B3=E9=97=AD=E6=97=B6?= =?UTF-8?q?=E9=99=90=E5=88=B6=E6=8F=90=E5=B8=81=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/serve/index.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/api/serve/index.js b/api/serve/index.js index 7c1021d..9dd77ca 100644 --- a/api/serve/index.js +++ b/api/serve/index.js @@ -196,13 +196,20 @@ x.fn = x.prototype = { reject(message); break; } - if (config.toast !== false&&message&& code!=666) { + + if (config.toast !== false&&message&& this.url!=='https://sbga.sbdccoin.com/api/app/user/withdraw') { uni.showToast({ title: message, duration: 2000, icon: 'none' }); - } + }else if(config.toast !== false&&message&&code!==666 && this.url=='https://sbga.sbdccoin.com/api/app/user/withdraw'){ + uni.showToast({ + title: message, + duration: 2000, + icon: 'none' + }); + } } else { Cache.set(newMsg,res.data); resolve(Cache.get(newMsg).data); // 直接返回数据