From f0ba4ae708d0cbd62a24bfacdcce00e5d0f8e01b Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 13 八月 2025 09:19:31 +0800
Subject: [PATCH] feat: 接口对接

---
 packages/services/apiV2/enterpriseEmployee.ts |   18 +++++++++
 packages/services/apiV2/typings.d.ts          |   51 +++++++++++++++++++++++++
 2 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/packages/services/apiV2/enterpriseEmployee.ts b/packages/services/apiV2/enterpriseEmployee.ts
index 8da2480..1c915b2 100644
--- a/packages/services/apiV2/enterpriseEmployee.ts
+++ b/packages/services/apiV2/enterpriseEmployee.ts
@@ -2,6 +2,24 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
+/** 鏌ヨ鐏靛伐璇︽儏 GET /api/user/enterpriseEmployee/getEnterpriseEmployee */
+export async function getEnterpriseEmployee(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetEnterpriseEmployeeParams,
+  options?: API.RequestConfig
+) {
+  return request<API.GetEnterpriseEmployeeQueryResult>(
+    '/api/user/enterpriseEmployee/getEnterpriseEmployee',
+    {
+      method: 'GET',
+      params: {
+        ...params,
+      },
+      ...(options || {}),
+    }
+  );
+}
+
 /** 鏌ヨ鐏靛伐鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/enterpriseEmployee/getEnterpriseEmployees */
 export async function getEnterpriseEmployees(
   body: API.GetEnterpriseEmployeesQuery,
diff --git a/packages/services/apiV2/typings.d.ts b/packages/services/apiV2/typings.d.ts
index 3921a39..860e74f 100644
--- a/packages/services/apiV2/typings.d.ts
+++ b/packages/services/apiV2/typings.d.ts
@@ -50,6 +50,13 @@
     id?: string;
   }
 
+  interface APIgetEnterpriseEmployeeParams {
+    /** 鐏靛伐Id */
+    id?: string;
+    /** 浠诲姟Id */
+    taskInfoId?: string;
+  }
+
   interface APIgetEnterpriseParams {
     /** Id */
     id?: string;
@@ -516,6 +523,24 @@
     /** 閿欒鐮� */
     errorCode?: string;
     data?: GetEnterpriseElectronSignSettingQueryResult;
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
+  interface FriendlyResultGetEnterpriseEmployeeQueryResult {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    data?: GetEnterpriseEmployeeQueryResult;
     /** 鎵ц鎴愬姛 */
     success?: boolean;
     /** 閿欒淇℃伅 */
@@ -1429,6 +1454,32 @@
     mergeSignCost?: number;
   }
 
+  interface GetEnterpriseEmployeeQueryResult {
+    /** 鐏靛伐Id */
+    id?: string;
+    /** 濮撳悕 */
+    name?: string;
+    /** 韬唤璇佸彿 */
+    identity?: string;
+    /** 鎵嬫満鍙� */
+    contactPhoneNumber?: string;
+    gender?: EnumUserGender;
+    /** 骞撮緞 */
+    age?: number;
+    /** 韬唤璇佷汉鍍忛潰 */
+    identityImg?: string;
+    /** 韬唤璇佸浗寰介潰 */
+    identityBackImg?: string;
+    /** 鎶ュ悕鏃堕棿 */
+    applyTime?: string;
+    /** 瀹炲悕鏃堕棿 */
+    userRealTime?: string;
+    /** 浼佷笟绛剧害鏃堕棿 */
+    enterpriseSignContractTime?: string;
+    /** 鐢靛瓙鍚堝悓 */
+    contractUrl?: string;
+  }
+
   interface GetEnterpriseEmployeesQuery {
     /** 鍏抽敭瀛楋紙濮撳悕/鎵嬫満/韬唤璇佸彿锛� */
     keywords?: string;

--
Gitblit v1.9.1