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/hooks/user.ts |   19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/apps/cMiniApp/src/hooks/user.ts b/apps/cMiniApp/src/hooks/user.ts
index a0d6025..980d82f 100644
--- a/apps/cMiniApp/src/hooks/user.ts
+++ b/apps/cMiniApp/src/hooks/user.ts
@@ -17,31 +17,14 @@
     return userStore.getCurrentUserInfo();
   }
 
-  const isCompanyAudited = computed(() => {
-    return userDetail.value?.openHRSiteStatus === ParkOrHRStatus.Running;
-  });
-
-  /**
-   * 鏄惁瀹屽杽涓汉淇℃伅锛堜紒涓氬悕绉帮紝鎵嬫満鍙凤級
-   */
-  const isCompletePersonalInfo = computed(() => {
-    return (
-      !!userDetail.value?.customerName &&
-      !!userDetail.value?.contacter &&
-      !!userDetail.value?.cityName
-    );
-  });
-
   const isCertified = computed(() => {
-    return false;
+    return userDetail.value?.isReal;
   });
 
   return {
     user: userInfo,
     userDetail: userDetail,
     updateUserInfo,
-    isCompletePersonalInfo,
-    isCompanyAudited,
     isCertified,
     locationCity,
     userId,

--
Gitblit v1.9.1