From d7ca134342a0a2004d9c15fab49fd0a41557e29c Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Sat, 07 Sep 2024 21:59:18 +0800 Subject: [PATCH] 提交 --- gz-wxparty/utils/util.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gz-wxparty/utils/util.js b/gz-wxparty/utils/util.js index ff41e3d..492cb22 100644 --- a/gz-wxparty/utils/util.js +++ b/gz-wxparty/utils/util.js @@ -50,7 +50,7 @@ let baseUrl = isDebug ? api.url.debug : api.url.web; - let visitUrl = `${baseUrl}${api.url[service] || ''}/api/${v1 ? 'v1' : 'weChat'}/${url}`; + let visitUrl = `${baseUrl}${api.url[service] || ''}/api/${v1 ? 'v1' : 'wechat'}/${url}`; return new Promise((resolve, reject) => { wx.request({ @@ -234,7 +234,7 @@ return wx.showModal({ content: content, showCancel: showCancel, - confirmColor: '#d10202', + confirmColor: '#1A6FB8', title: title, cancelText: cancelText, confirmText: confirmText, @@ -434,7 +434,7 @@ return false; } let realStatus = wx.getStorageSync('userInfo')?.realStatus; - if (realStatus !== '1' && (type === 'realName' || type === 'all')) { + if (realStatus !== 1 && (type === 'realName' || type === 'all')) { if (direction !== 'bottom') { showModal({ content: '检测到您未进行实名认证,该操作需先进行实名认证,是否前往认证?', -- Gitblit v1.8.0