tsung
tsung
  • 发布:2020-08-13 15:44
  • 更新:2021-05-07 14:08
  • 阅读:2189

【报Bug】wx.startFacialRecognitionVerify, 微信小程序人脸识别

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: windows10

HBuilderX类型: 正式

HBuilderX版本号: 2.8.3

第三方开发者工具版本号: stabel v1.02.1911180

基础库版本号: 2.8.3

项目创建方式: HBuilderX

操作步骤:
wx.startFacialRecognitionVerify({  
                    name:'xxxxx',  
                    idCardNumber: '1234566455',  
                    success: (res) => {  
                        console.log(res);  
                    },  
                    fail: (err) => {  
                        console.log(err);  
                    }  
                });

预期结果:
能正常使用此API

实际结果:
VM33:2 MiniProgramError  
 _vm.startSoterAuthentication is not a function  
Error:  _vm.startSoterAuthentication is not a function  
    at eval (weapp:///common/vendor.js:1185:23)  
    at Array.forEach (<anonymous>)  
    at eval (weapp:///common/vendor.js:1170:23)  
    at Array.forEach (<anonymous>)  
    at Xe.handleEvent [as __e] (weapp:///common/vendor.js:1160:17)  
    at Object.r.safeCallback (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:1911365)  
    at eval (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:2051855)  
    at s (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:2074756)  
    at eval (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:2051780)  
    at r (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:1988780)

bug描述:

wx.startFacialRecognitionVerify({  
                    name:'xxxxx',  
                    idCardNumber: '1234566455',  
                    success: (res) => {  
                        console.log(res);  
                    },  
                    fail: (err) => {  
                        console.log(err);  
                    }  
                });

报错信息如下:

VM33:2 MiniProgramError  
 _vm.startSoterAuthentication is not a function  
Error:  _vm.startSoterAuthentication is not a function  
    at eval (weapp:///common/vendor.js:1185:23)  
    at Array.forEach (<anonymous>)  
    at eval (weapp:///common/vendor.js:1170:23)  
    at Array.forEach (<anonymous>)  
    at Xe.handleEvent [as __e] (weapp:///common/vendor.js:1160:17)  
    at Object.r.safeCallback (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:1911365)  
    at eval (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:2051855)  
    at s (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:2074756)  
    at eval (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:2051780)  
    at r (eval at n.call.document (http://127.0.0.1:21950/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:1988780)

急急急,怎么搞哦,项目着急上线啊, 人脸识别无法使用

2020-08-13 15:44 负责人:无 分享
已邀请:
随性009

随性009 - 代码搬运工

请问这个问题最终有解决吗

该问题目前已经被锁定, 无法添加新回复