| | |
| | | |
| | | 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({ |
| | |
| | | return wx.showModal({ |
| | | content: content, |
| | | showCancel: showCancel, |
| | | confirmColor: '#d10202', |
| | | confirmColor: '#1A6FB8', |
| | | title: title, |
| | | cancelText: cancelText, |
| | | confirmText: confirmText, |
| | |
| | | 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: '检测到您未进行实名认证,该操作需先进行实名认证,是否前往认证?', |