wx.startSoterAuthentication({
challenge: '12345',
requestAuthModes: ['facial'],
success(res){
wx.showToast({
title: "1"+res.errMsg,
duration: 1000,
mask: true
});
},
fail(res){
wx.showToast({
title: "1:"+res.errCode,
duration: 1000,
mask: true
});
}
})