|
@@ -265,6 +265,9 @@ Component({
|
|
|
}, 5000),
|
|
|
//验证人脸
|
|
|
async doFaceCheck() {
|
|
|
+ wx.showLoading({
|
|
|
+ title: '信息验证中...',
|
|
|
+ })
|
|
|
let taskId = app.data.faceTaskId;
|
|
|
// taskId = '00-2023041314125357889'; //本地
|
|
|
// taskId = '00-993306131355291200'; //线上
|
|
@@ -273,6 +276,7 @@ Component({
|
|
|
let res = await face.getFace_wxrlxf('/api/next/doQueryFaceSuccess', 'get', {
|
|
|
taskId: taskId
|
|
|
});
|
|
|
+ wx.hideLoading()
|
|
|
if (res.data.status === true) {
|
|
|
this.openIdAndCardIdSet(res.data, this.data.cardIdEx);
|
|
|
} else {
|
|
@@ -313,7 +317,11 @@ Component({
|
|
|
code: app.data.wxCode
|
|
|
}
|
|
|
let that = this
|
|
|
+ wx.showLoading({
|
|
|
+ title: '信息验证中...',
|
|
|
+ })
|
|
|
doConfirmFaceNotifyNew(data).then(res => {
|
|
|
+ wx.hideLoading()
|
|
|
getWxLogin()
|
|
|
// 接口请求失败
|
|
|
if (res.code !== 200) {
|
|
@@ -465,7 +473,11 @@ Component({
|
|
|
birthday: this.data.myUserInfo.birthday,
|
|
|
efficientTime: this.data.myUserInfo.efficientTime
|
|
|
}
|
|
|
+ wx.showLoading({
|
|
|
+ title: '信息提交中...',
|
|
|
+ })
|
|
|
foreignAuthentication(data).then(res => {
|
|
|
+ wx.hideLoading()
|
|
|
if (res.code !== 200) {
|
|
|
wx.showToast({
|
|
|
icon: 'none',
|