From 0f8d487b2c5bd082f9193952430f9a3e74798602 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 20 八月 2025 15:56:22 +0800
Subject: [PATCH] feat: 实名
---
apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue
index 98a0bb6..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,
@@ -188,10 +189,26 @@
};
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,
+ identity: form.identity,
+ identityImg: form.identityImg?.[0]?.path ?? '',
+ 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>
<style lang="scss">
--
Gitblit v1.9.1