wx.checkIsSupportSoterAuthentication({
success(res) {
if(res.supportMode.indexOf('fingerPrint')==0){
wx.startSoterAuthentication({
requestAuthModes:['fingerPrint'],
challenge:item.orderRoomId,
authContent:"验证是否为本人!",
success:function(res){
uni.showModal({
title: '提示',
content: '成功'
})
},
fail:function(err){
uni.showToast({
title:'失败',
icon:'none'
})
}
})
}
}
})
小程序指纹识别
最新推荐文章于 2025-03-29 00:15:00 发布