2025/07/28 修改人脸图像验证

dev-2.0
zhaohongyu 2025-07-28 17:55:28 +08:00
parent 3aa8475037
commit 9639d56b14
1 changed files with 1 additions and 4 deletions

View File

@ -79,10 +79,7 @@
try { try {
// TODO USERAVATARPREFIX USERAVATARURL // TODO USERAVATARPREFIX USERAVATARURL
// 调用 API 提交人脸图片 // 调用 API 提交人脸图片
const fullBase64 = USERAVATARPREFIX + USERAVATARURL; const res = await submitEditUserFace({ USERAVATARPREFIX: USERAVATARPREFIX,USERAVATARURL: USERAVATARURL, userId: this.$store.getters.getUserInfo.USER_ID });
console.log(fullBase64)
console.log(this.$store.getters.getUserInfo.USER_ID)
const res = await submitEditUserFace({ faceData: fullBase64, userId: this.$store.getters.getUserInfo.USER_ID });
uni.hideLoading(); uni.hideLoading();
uni.$u.toast('上传成功'); uni.$u.toast('上传成功');
uni.navigateBack({ delta: 1 }); uni.navigateBack({ delta: 1 });