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