From 49f26d3f32796eceafefe73e1d45f1fe73bf4eb9 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 20 八月 2025 15:28:41 +0800 Subject: [PATCH] feat: 实名 --- apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue index 3436e64..f1c3fe3 100644 --- a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue +++ b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue @@ -159,6 +159,7 @@ } function handleSubmit() { + console.log('type: ', type); if (!formRef.value) return; formRef.value.validate().then(({ valid, errors }: any) => { if (valid) { @@ -176,7 +177,7 @@ } } -async function personalUserFaceReal() { +async function personalUserIdentity3Real() { try { let params: API.PersonalUserIdentity3RealCommand = { name: form.name, @@ -187,10 +188,13 @@ verifyCode: form.verifyCode, }; let res = await electronSignServices.personalUserIdentity3Real(params); + if (res) { + Taro.navigateTo({ url: `${RouterPath.authenticationResult}` }); + } } catch (error) {} } -async function personalUserIdentity3Real() { +async function personalUserFaceReal() { try { let params: API.PersonalUserFaceRealCommand = { name: form.name, @@ -199,6 +203,10 @@ identityBackImg: form.identityBackImg?.[0]?.path ?? '', }; let res = await electronSignServices.personalUserFaceReal(params); + if (res) { + const encodedUrl = encodeURIComponent(res); + Taro.navigateTo({ url: `${RouterPath.extraPage}?url=${encodedUrl}` }); + } } catch (error) {} } </script> -- Gitblit v1.9.1