From 3210680f3b720752111a6de1e006487c319c0b67 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 15 八月 2025 16:30:01 +0800
Subject: [PATCH] fix: bug

---
 packages/services/apiV2/ocrUtils.ts                                         |   18 ++
 packages/services/apiV2/index.ts                                            |    4 
 packages/services/apiV2/fileUtils.ts                                        |   52 ++++++
 packages/services/apiV2/resource.ts                                         |   15 -
 packages/services/apiV2/task.ts                                             |   15 -
 packages/services/apiV2/typings.d.ts                                        |  239 +++++++++++++++++++++++++++--
 apps/bMiniApp/src/components/JobDetailContent/components/experienceView.vue |    2 
 packages/constants/apiEnum.ts                                               |   64 ++++++-
 packages/services/apiV2/user.ts                                             |   15 +
 9 files changed, 363 insertions(+), 61 deletions(-)

diff --git a/apps/bMiniApp/src/components/JobDetailContent/components/experienceView.vue b/apps/bMiniApp/src/components/JobDetailContent/components/experienceView.vue
index b901e3c..6866ebe 100644
--- a/apps/bMiniApp/src/components/JobDetailContent/components/experienceView.vue
+++ b/apps/bMiniApp/src/components/JobDetailContent/components/experienceView.vue
@@ -11,7 +11,7 @@
         <nut-step
           v-for="(taskInfoUser, index) in taskInfoUsers"
           :key="index"
-          :title="taskInfoUser.signContractTime"
+          :title="taskInfoUser.hireTime"
         >
           <template #content>
             <p>鍦▄{ taskInfoUser.enterpriseName }}锛�</p>
diff --git a/packages/constants/apiEnum.ts b/packages/constants/apiEnum.ts
index 01db867..6003214 100644
--- a/packages/constants/apiEnum.ts
+++ b/packages/constants/apiEnum.ts
@@ -21,6 +21,20 @@
   Wxmp = 20,
 }
 
+/** 鏁版嵁鏉ユ簮 */
+export enum EnumDataSource {
+  /**818 */
+  HumanResources = 10,
+}
+
+/** 浼佷笟瀹炲悕鏂瑰紡 */
+export enum EnumEnterpriseRealMethod {
+  /**浼佷笟涓夎绱� */
+  Identity3 = 10,
+  /**浼佷笟鍥涜绱� */
+  Identity4 = 20,
+}
+
 /** 鑿滃崟绫诲瀷 */
 export enum EnumMenuType {
   /**鑿滃崟 */
@@ -45,12 +59,26 @@
   NeedPower = 30,
 }
 
+/** 鏂囧瓧璇嗗埆閫氶亾 */
+export enum EnumOcrAccess {
+  /**鐧惧害 */
+  Baidu = 10,
+}
+
 /** 鍒嗛〉鍒楄〃鎺掑簭 */
 export enum EnumPagedListOrder {
   /**鍗囧簭 */
   Asc = 0,
   /**闄嶅簭 */
   Desc = 1,
+}
+
+/** 鏀粯閫氶亾 */
+export enum EnumPayAccess {
+  /**骞冲畨閾惰 */
+  PingAnBank = 10,
+  /**鏀粯瀹� */
+  Alipay = 20,
 }
 
 /** 绌洪棽鏃堕棿 */
@@ -77,6 +105,16 @@
   Not = 30,
 }
 
+/** 涓汉瀹炲悕鏂瑰紡 */
+export enum EnumPersonalRealMethod {
+  /**涓汉鎵嬫満鍙蜂笁瑕佺礌 */
+  Identity3 = 10,
+  /**閾惰鍗″瑕佺礌 */
+  Identity4 = 20,
+  /**鍒疯劯璁よ瘉 */
+  Face = 30,
+}
+
 /** 瀹炲悕閫氶亾 */
 export enum EnumRealAccess {
   /**涓婁笂绛� */
@@ -95,22 +133,26 @@
   TaskUser = 2,
   /**浠诲姟楠屾敹 */
   TaskCheckReceive = 3,
+  /**鏂囧瓧璇嗗埆 */
+  FileUtils = 4,
+  /**鏂囧瓧璇嗗埆 */
+  OcrUtils = 5,
   /**鐢ㄦ埛璁よ瘉 */
-  Auth = 4,
+  Auth = 6,
   /**鐢ㄦ埛鑿滃崟 */
-  Menu = 5,
+  Menu = 7,
   /**鐢ㄦ埛璧勬簮 */
-  Resource = 6,
+  Resource = 8,
   /**鐢ㄦ埛瑙掕壊 */
-  Role = 7,
+  Role = 9,
   /**鐢ㄦ埛淇℃伅 */
-  User = 8,
+  User = 10,
   /**鐢ㄦ埛绠�鍘� */
-  UserResume = 9,
+  UserResume = 11,
   /**浼佷笟淇℃伅 */
-  Enterprise = 10,
+  Enterprise = 12,
   /**鐏靛伐淇℃伅 */
-  EnterpriseEmployee = 11,
+  EnterpriseEmployee = 13,
 }
 
 /** 璧勬簮璇锋眰鏂瑰紡 */
@@ -285,6 +327,8 @@
 
 /** 鎴戠殑宸插綍鐢ㄥ垎椤靛垪琛�-鐘舵�� */
 export enum GetPersonalHireTaskInfosQueryStatus {
+  /**寰呭紑濮� */
+  Wait = 1,
   /**杩涜涓� */
   InProcess = 10,
   /**宸插畬鎴� */
@@ -301,8 +345,10 @@
 
 /** 鎴戠殑褰曠敤鍒楄〃-璇︽儏-鎸夐挳绫诲瀷 */
 export enum GetTaskInfoQueryResultHireButton {
+  /**寰呭紑濮� */
+  Wait = 1,
   /**鐢宠楠屾敹 */
-  ApplyCheckReceive = 1,
+  ApplyCheckReceive = 5,
   /**杩涜涓� */
   InProcess = 10,
   /**宸插畬鎴� */
diff --git a/packages/services/apiV2/fileUtils.ts b/packages/services/apiV2/fileUtils.ts
new file mode 100644
index 0000000..425fac0
--- /dev/null
+++ b/packages/services/apiV2/fileUtils.ts
@@ -0,0 +1,52 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鑾峰彇鏂囦欢鍦板潃 GET /api/common/fileUtils/getFileUrl */
+export async function getFileUrl(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetFileUrlParams,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/common/fileUtils/getFileUrl', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 涓婁紶鏂囦欢 POST /api/common/fileUtils/uploadFile */
+export async function uploadFile(
+  body: {
+    /** 鍦烘櫙 */
+    Scene?: string;
+  },
+  File?: File,
+  options?: API.RequestConfig
+) {
+  const formData = new FormData();
+
+  if (File) {
+    formData.append('File', File);
+  }
+
+  Object.keys(body).forEach((ele) => {
+    const item = (body as any)[ele];
+
+    if (item !== undefined && item !== null) {
+      formData.append(
+        ele,
+        typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item
+      );
+    }
+  });
+
+  return request<API.UploadFileCommandResult>('/api/common/fileUtils/uploadFile', {
+    method: 'POST',
+    data: formData,
+    requestType: 'form',
+    ...(options || {}),
+  });
+}
diff --git a/packages/services/apiV2/index.ts b/packages/services/apiV2/index.ts
index 9cabf40..38f65d3 100644
--- a/packages/services/apiV2/index.ts
+++ b/packages/services/apiV2/index.ts
@@ -7,6 +7,7 @@
 import * as role from './role';
 import * as enterprise from './enterprise';
 import * as task from './task';
+import * as ocrUtils from './ocrUtils';
 import * as dictionary from './dictionary';
 import * as userResume from './userResume';
 import * as auth from './auth';
@@ -14,12 +15,14 @@
 import * as resource from './resource';
 import * as taskUser from './taskUser';
 import * as menu from './menu';
+import * as fileUtils from './fileUtils';
 export default {
   enterpriseEmployee,
   user,
   role,
   enterprise,
   task,
+  ocrUtils,
   dictionary,
   userResume,
   auth,
@@ -27,4 +30,5 @@
   resource,
   taskUser,
   menu,
+  fileUtils,
 };
diff --git a/packages/services/apiV2/ocrUtils.ts b/packages/services/apiV2/ocrUtils.ts
new file mode 100644
index 0000000..4601bae
--- /dev/null
+++ b/packages/services/apiV2/ocrUtils.ts
@@ -0,0 +1,18 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鏂囧瓧璇嗗埆钀ヤ笟鎵х収 GET /api/common/ocrUtils/getLicenseOcr */
+export async function getLicenseOcr(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetLicenseOcrParams,
+  options?: API.RequestConfig
+) {
+  return request<API.GetLicenseOcrCommandResult>('/api/common/ocrUtils/getLicenseOcr', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
diff --git a/packages/services/apiV2/resource.ts b/packages/services/apiV2/resource.ts
index 5e25fe0..dc3ef94 100644
--- a/packages/services/apiV2/resource.ts
+++ b/packages/services/apiV2/resource.ts
@@ -31,18 +31,3 @@
     ...(options || {}),
   });
 }
-
-/** 淇濆瓨浠诲姟璋冨害-浣滀笟 POST /api/user/resource/saveScheduleJobDetail */
-export async function saveScheduleJobDetail(
-  body: API.SaveScheduleJobDetailCommand,
-  options?: API.RequestConfig
-) {
-  return request<boolean>('/api/user/resource/saveScheduleJobDetail', {
-    method: 'POST',
-    headers: {
-      'Content-Type': 'application/json-patch+json',
-    },
-    data: body,
-    ...(options || {}),
-  });
-}
diff --git a/packages/services/apiV2/task.ts b/packages/services/apiV2/task.ts
index 8f85a31..9488ff3 100644
--- a/packages/services/apiV2/task.ts
+++ b/packages/services/apiV2/task.ts
@@ -2,21 +2,6 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
-/** 鎸夋棩鏈熶慨璁换鍔$姸鎬� POST /api/flexjob/task/autoTaskStatusByDate */
-export async function autoTaskStatusByDate(
-  body: API.AutoTaskStatusByDateCommand,
-  options?: API.RequestConfig
-) {
-  return request<number>('/api/flexjob/task/autoTaskStatusByDate', {
-    method: 'POST',
-    headers: {
-      'Content-Type': 'application/json-patch+json',
-    },
-    data: body,
-    ...(options || {}),
-  });
-}
-
 /** 鍒犻櫎浠诲姟 DELETE /api/flexjob/task/deleteTaskInfo */
 export async function deleteTaskInfo(body: API.DeleteTaskInfoCommand, options?: API.RequestConfig) {
   return request<number>('/api/flexjob/task/deleteTaskInfo', {
diff --git a/packages/services/apiV2/typings.d.ts b/packages/services/apiV2/typings.d.ts
index e2b61f5..3fc5b6f 100644
--- a/packages/services/apiV2/typings.d.ts
+++ b/packages/services/apiV2/typings.d.ts
@@ -83,6 +83,22 @@
     id?: string;
   }
 
+  interface APIgetFileUrlParams {
+    /** 鍦板潃 */
+    url?: string;
+  }
+
+  interface APIgetLicenseOcrParams {
+    /** 閫氶亾 */
+    access?: EnumOcrAccess;
+    /** 鍦烘櫙 */
+    scene?: string;
+    /** 閾炬帴鍦板潃 */
+    url?: string;
+    /** 鏄惁涓轰簯瀛樺偍鐩稿鍦板潃 */
+    isOssUrl?: boolean;
+  }
+
   interface APIgetMenuParams {
     /** Id */
     id?: string;
@@ -189,7 +205,24 @@
     ids?: string[];
   }
 
-  type AutoTaskStatusByDateCommand = Record<string, any>;
+  interface BaiduOcrBusinessLicenseResultModel {
+    /** 浼佷笟鍏ㄧО */
+    enterpriseName?: string;
+    /** 缁熶竴绀句細淇$敤浠g爜 */
+    societyCreditCode?: string;
+    /** 娉曚汉濮撳悕 */
+    legalPerson?: string;
+    /** 浼佷笟绫诲瀷 */
+    enterpriseType?: string;
+    /** 娉ㄥ唽璧勬湰 */
+    registeredCapital?: string;
+    /** 鎴愮珛鏃ユ湡 */
+    establishmentDate?: string;
+    /** 浼佷笟鍦板潃 */
+    address?: string;
+    /** 缁忚惀鑼冨洿 */
+    mainBusiness?: string;
+  }
 
   interface BindWxmpUserInfoCommand {
     /** 璁块棶浠ょ墝 */
@@ -292,6 +325,18 @@
     Wxmp = 20,
   }
 
+  enum EnumDataSource {
+    /**818 */
+    HumanResources = 10,
+  }
+
+  enum EnumEnterpriseRealMethod {
+    /**浼佷笟涓夎绱� */
+    Identity3 = 10,
+    /**浼佷笟鍥涜绱� */
+    Identity4 = 20,
+  }
+
   enum EnumMenuType {
     /**鑿滃崟 */
     Menu = 10,
@@ -314,11 +359,23 @@
     NeedPower = 30,
   }
 
+  enum EnumOcrAccess {
+    /**鐧惧害 */
+    Baidu = 10,
+  }
+
   enum EnumPagedListOrder {
     /**鍗囧簭 */
     Asc = 0,
     /**闄嶅簭 */
     Desc = 1,
+  }
+
+  enum EnumPayAccess {
+    /**骞冲畨閾惰 */
+    PingAnBank = 10,
+    /**鏀粯瀹� */
+    Alipay = 20,
   }
 
   enum EnumPersonalFreeTime {
@@ -343,6 +400,15 @@
     Not = 30,
   }
 
+  enum EnumPersonalRealMethod {
+    /**涓汉鎵嬫満鍙蜂笁瑕佺礌 */
+    Identity3 = 10,
+    /**閾惰鍗″瑕佺礌 */
+    Identity4 = 20,
+    /**鍒疯劯璁よ瘉 */
+    Face = 30,
+  }
+
   enum EnumRealAccess {
     /**涓婁笂绛� */
     BestSign = 10,
@@ -359,22 +425,26 @@
     TaskUser = 2,
     /**浠诲姟楠屾敹 */
     TaskCheckReceive = 3,
+    /**鏂囧瓧璇嗗埆 */
+    FileUtils = 4,
+    /**鏂囧瓧璇嗗埆 */
+    OcrUtils = 5,
     /**鐢ㄦ埛璁よ瘉 */
-    Auth = 4,
+    Auth = 6,
     /**鐢ㄦ埛鑿滃崟 */
-    Menu = 5,
+    Menu = 7,
     /**鐢ㄦ埛璧勬簮 */
-    Resource = 6,
+    Resource = 8,
     /**鐢ㄦ埛瑙掕壊 */
-    Role = 7,
+    Role = 9,
     /**鐢ㄦ埛淇℃伅 */
-    User = 8,
+    User = 10,
     /**鐢ㄦ埛绠�鍘� */
-    UserResume = 9,
+    UserResume = 11,
     /**浼佷笟淇℃伅 */
-    Enterprise = 10,
+    Enterprise = 12,
     /**鐏靛伐淇℃伅 */
-    EnterpriseEmployee = 11,
+    EnterpriseEmployee = 13,
   }
 
   enum EnumResourceMethod {
@@ -752,6 +822,24 @@
     /** 閿欒鐮� */
     errorCode?: string;
     data?: GetEnterpriseSmsSettingQueryResult;
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
+  interface FriendlyResultGetLicenseOcrCommandResult {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    data?: GetLicenseOcrCommandResult;
     /** 鎵ц鎴愬姛 */
     success?: boolean;
     /** 閿欒淇℃伅 */
@@ -1458,6 +1546,24 @@
     timestamp?: number;
   }
 
+  interface FriendlyResultUploadFileCommandResult {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    data?: UploadFileCommandResult;
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
   type GetAliyunOSSAcsQuery = Record<string, any>;
 
   interface GetAliyunOSSAcsQueryResult {
@@ -2031,6 +2137,12 @@
     isConfigured?: boolean;
   }
 
+  interface GetLicenseOcrCommandResult {
+    /** 鍦板潃 */
+    url?: string;
+    model?: BaiduOcrBusinessLicenseResultModel;
+  }
+
   interface GetMenuQueryResult {
     /** Id */
     id?: string;
@@ -2318,6 +2430,8 @@
   }
 
   enum GetPersonalHireTaskInfosQueryStatus {
+    /**寰呭紑濮� */
+    Wait = 1,
     /**杩涜涓� */
     InProcess = 10,
     /**宸插畬鎴� */
@@ -2610,8 +2724,10 @@
   }
 
   enum GetTaskInfoQueryResultHireButton {
+    /**寰呭紑濮� */
+    Wait = 1,
     /**鐢宠楠屾敹 */
-    ApplyCheckReceive = 1,
+    ApplyCheckReceive = 5,
     /**杩涜涓� */
     InProcess = 10,
     /**宸插畬鎴� */
@@ -2692,6 +2808,7 @@
     checkReceiveStatus?: EnumTaskCheckReceiveStatus;
     settlementStatus?: EnumTaskSettlementStatus;
     recommendStatus?: EnumTaskRecommendStatus;
+    hireStatus?: EnumTaskUserHireStatus;
     /** 鍙戝竷鏃堕棿 */
     createdTime?: string;
   }
@@ -2952,8 +3069,8 @@
   }
 
   interface GetUserResumeQueryResultExperience {
-    /** 绛剧害鏃堕棿 */
-    signContractTime?: string;
+    /** 褰曠敤鏃堕棿 */
+    hireTime?: string;
     /** 浼佷笟鍏ㄧО */
     enterpriseName?: string;
     /** 浠诲姟鍚嶇О */
@@ -3021,6 +3138,7 @@
     workExperience?: string;
     /** 鍒涘缓鏃堕棿 */
     createdTime?: string;
+    hireStatus?: EnumTaskUserHireStatus;
   }
 
   type GetUserResumeWorkExperienceQuery = Record<string, any>;
@@ -3360,15 +3478,6 @@
     resources?: GetRoleQueryResultResource[];
   }
 
-  interface SaveScheduleJobDetailCommand {
-    /** 璧勬簮Id */
-    resourceId?: string;
-    /** 璇锋眰鏁版嵁 */
-    body?: string;
-    /** Cron琛ㄨ揪寮� */
-    cron?: string;
-  }
-
   interface SaveTaskInfoCommand {
     /** 浠诲姟鍚嶇О */
     name: string;
@@ -3591,6 +3700,89 @@
     files?: string[];
   }
 
+  interface SyncEnterpriseUserCommand {
+    dataSource?: EnumDataSource;
+    /** 鏁版嵁鏉ユ簮Id */
+    dataSourceId?: string;
+    /** 瀵嗙爜 */
+    password?: string;
+    /** 濮撳悕 */
+    name?: string;
+    /** 鐢ㄦ埛鍚� */
+    userName?: string;
+    /** 鎵嬫満鍙� */
+    phoneNumber?: string;
+    status?: EnumUserStatus;
+    enterprise?: SyncEnterpriseUserCommandEnterprise;
+  }
+
+  interface SyncEnterpriseUserCommandEnterprise {
+    /** 鍥尯Id */
+    industrialParkId?: string;
+    /** 浼佷笟鍏ㄧО */
+    enterpriseName: string;
+    /** 缁熶竴绀句細淇$敤浠g爜 */
+    societyCreditCode: string;
+    /** 钀ヤ笟鎵х収鐓х墖 */
+    licenseImage?: string;
+    /** 娉曚汉濮撳悕 */
+    legalPerson?: string;
+    /** 娉曚汉韬唤璇佸彿 */
+    legalIdentity?: string;
+    /** 鎵�鍦ㄧ渷浠界紪鍙� */
+    provinceCode?: string;
+    /** 鎵�鍦ㄥ煄甯傜紪鍙� */
+    cityCode?: string;
+    /** 鑱旂郴浜� */
+    contacts?: string;
+    /** 鑱旂郴鐢佃瘽 */
+    contactPhoneNumber?: string;
+    /** 鑱旂郴閭 */
+    contactEmail?: string;
+    payAccess?: EnumPayAccess;
+    /** 寮�鎴锋�昏 */
+    bankName?: string;
+    /** 寮�鎴锋敮琛� */
+    bankBranchName?: string;
+    /** 閾惰璐︽埛 */
+    bankCard?: string;
+    /** 鏄惁宸叉牎楠岄摱琛岃处鎴� */
+    isCheckedBankCard?: boolean;
+    realAccess?: EnumRealAccess;
+    /** 瀹炲悕璐圭敤 */
+    realVerifyCost?: number;
+    /** 绛剧害璐圭敤 */
+    signCost?: number;
+    /** 涓�鍙d环 */
+    mergeSignCost?: number;
+    /** 鏄惁瀹炲悕 */
+    isReal?: boolean;
+    enterpriseAuth?: SyncEnterpriseUserCommandEnterpriseAuth;
+  }
+
+  interface SyncEnterpriseUserCommandEnterpriseAuth {
+    enterpriseRealMethod?: EnumEnterpriseRealMethod;
+    personalRealMethod?: EnumPersonalRealMethod;
+    /** 娉曚汉鎴栫粡鍔炰汉濮撳悕 */
+    name?: string;
+    /** 娉曚汉鎴栫粡鍔炰汉韬唤璇佸彿 */
+    identity?: string;
+    /** 娉曚汉鎴栫粡鍔炰汉韬唤璇佷汉鍍忛潰 */
+    identityImg?: string;
+    /** 娉曚汉鎴栫粡鍔炰汉韬唤璇佸浗寰介潰 */
+    identityBackImg?: string;
+    /** 娉曚汉鎴栫粡鍔炰汉閾惰鍗″彿 */
+    bankCard?: string;
+    /** 娉曚汉鎴栫粡鍔炰汉閾惰鍗$収鐗� */
+    bankCardImg?: string;
+    /** 娉曚汉鎴栫粡鍔炰汉鎵嬫満鍙� */
+    phoneNumber?: string;
+    /** 鏄惁濮旀墭缁忓姙浜� */
+    proxy?: boolean;
+    /** 浼佷笟鎺堟潈涔� */
+    proxyPowerAttorneyUrl?: string;
+  }
+
   type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>;
 
   interface UpdatePhoneNumberVerifyCodeCommand {
@@ -3598,6 +3790,11 @@
     phoneNumber: string;
   }
 
+  interface UploadFileCommandResult {
+    /** 鍦板潃 */
+    url?: string;
+  }
+
   interface WxmpLoginCommand {
     /** 鐢ㄦ埛鐧诲綍鍑瘉 */
     code: string;
diff --git a/packages/services/apiV2/user.ts b/packages/services/apiV2/user.ts
index 83fdcbf..44bca4f 100644
--- a/packages/services/apiV2/user.ts
+++ b/packages/services/apiV2/user.ts
@@ -97,3 +97,18 @@
     ...(options || {}),
   });
 }
+
+/** 鍚屾浼佷笟鐢ㄦ埛 POST /api/user/user/syncEnterpriseUser */
+export async function syncEnterpriseUser(
+  body: API.SyncEnterpriseUserCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/user/syncEnterpriseUser', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

--
Gitblit v1.9.1