forked from gzzfw/frontEnd/gzDyh

xusd
2024-09-08 5424fb6cc7c907ec12025e96bb41146b28e5582c
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: '检测到您未进行实名认证,该操作需先进行实名认证,是否前往认证?',