lin
2026-04-17 e1b981115b2c3594137bea1f6eaef0b4851e0dbe
feat: 屏蔽实名认证
18 files modified
67 ■■■■ changed files
unpackage/res/icons/1024x1024.png patch | view | raw | blame | history
unpackage/res/icons/120x120.png patch | view | raw | blame | history
unpackage/res/icons/144x144.png patch | view | raw | blame | history
unpackage/res/icons/152x152.png patch | view | raw | blame | history
unpackage/res/icons/167x167.png patch | view | raw | blame | history
unpackage/res/icons/180x180.png patch | view | raw | blame | history
unpackage/res/icons/192x192.png patch | view | raw | blame | history
unpackage/res/icons/20x20.png patch | view | raw | blame | history
unpackage/res/icons/29x29.png patch | view | raw | blame | history
unpackage/res/icons/40x40.png patch | view | raw | blame | history
unpackage/res/icons/58x58.png patch | view | raw | blame | history
unpackage/res/icons/60x60.png patch | view | raw | blame | history
unpackage/res/icons/72x72.png patch | view | raw | blame | history
unpackage/res/icons/76x76.png patch | view | raw | blame | history
unpackage/res/icons/80x80.png patch | view | raw | blame | history
unpackage/res/icons/87x87.png patch | view | raw | blame | history
unpackage/res/icons/96x96.png patch | view | raw | blame | history
util.js 67 ●●●● patch | view | raw | blame | history
unpackage/res/icons/1024x1024.png

unpackage/res/icons/120x120.png

unpackage/res/icons/144x144.png

unpackage/res/icons/152x152.png

unpackage/res/icons/167x167.png

unpackage/res/icons/180x180.png

unpackage/res/icons/192x192.png

unpackage/res/icons/20x20.png

unpackage/res/icons/29x29.png

unpackage/res/icons/40x40.png

unpackage/res/icons/58x58.png

unpackage/res/icons/60x60.png

unpackage/res/icons/72x72.png

unpackage/res/icons/76x76.png

unpackage/res/icons/80x80.png

unpackage/res/icons/87x87.png

unpackage/res/icons/96x96.png

util.js
@@ -261,39 +261,40 @@
        })
        return false
    } else {
        let userInfo = getUserInfo()
        let goUrl = ''
        if(userInfo.idcard_auth == 0){
            goUrl = '/pages/idcard/idcard'
        } else if(userInfo.face_auth == 0){
            goUrl = '/pages/face/face'
        } else if(userInfo.job_auth == 0){
            goUrl = '/pages/job/job'
        } else if(userInfo.bank_auth == 0){
            goUrl = '/pages/addBank/addBank?backUrl=/pages/face/face'
        }
        console.log('goUrl', goUrl)
        if(goUrl != ''){
            uni.showModal({
                title: '温馨提示',
                content: '根据国家法律法规规定,使用本服务需要完成实名认证,是否前往认证?',
                success: function (res) {
                    if (res.confirm) {
                        uni.navigateTo({
                            url: goUrl
                        })
                    }
                }
            })
            return false
        }
        if(url != '' && isgo == 1){
            uni.navigateTo({
                url: url
            })
        } else {
            return true
        }
        return true
        // let userInfo = getUserInfo()
        // let goUrl = ''
        // if(userInfo.idcard_auth == 0){
        //     goUrl = '/pages/idcard/idcard'
        // } else if(userInfo.face_auth == 0){
        //     goUrl = '/pages/face/face'
        // } else if(userInfo.job_auth == 0){
        //     goUrl = '/pages/job/job'
        // } else if(userInfo.bank_auth == 0){
        //     goUrl = '/pages/addBank/addBank?backUrl=/pages/face/face'
        // }
        // console.log('goUrl', goUrl)
        // if(goUrl != ''){
        //     uni.showModal({
        //         title: '温馨提示',
        //         content: '根据国家法律法规规定,使用本服务需要完成实名认证,是否前往认证?',
        //         success: function (res) {
        //             if (res.confirm) {
        //                 uni.navigateTo({
        //                     url: goUrl
        //                 })
        //             }
        //         }
        //     })
        //     return false
        // }
        // if(url != '' && isgo == 1){
        //     uni.navigateTo({
        //         url: url
        //     })
        // } else {
        //     return true
        // }
    }