BUG优化

我的学习人脸比对
dev
xiepeng 2024-05-15 14:16:58 +08:00
parent 84faaaca3d
commit 3ac6e233e1
1 changed files with 15 additions and 3 deletions

View File

@ -496,9 +496,21 @@ export default {
CHAPTER_ID: this.videoData.CHAPTER_ID,
VIDEOCOURSEWARE_ID: this.videoData.VIDEOCOURSEWARE_ID,
})
uni.navigateTo({
url: '/pages/application/onlinexxks/face/index?params=' + params
})
const resData = await this.post('/app/user/getUserFace', {
USERNAME: loginUser.NAME,
USER_ID: loginUser.USER_ID,
});
if (!resData.pd.PORTRAIT) {
uni.showModal({
title: "温馨提示",
confirmText: "确定",
content: "您当前还未进行人脸认证,请先进行认证",
});
} else {
uni.navigateTo({
url: '/pages/application/onlinexxks/face/index?params=' + params
})
}
},
fnNavigationExercises(VIDEOCOURSEWARE_ID) {
uni.navigateTo({