From dd0a3e0ed394983c4fbacdab64cad6f8de5b4884 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 06 八月 2025 18:03:56 +0800
Subject: [PATCH] fix: 对接字典

---
 packages/services/apiV2/typings.d.ts |  265 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 253 insertions(+), 12 deletions(-)

diff --git a/packages/services/apiV2/typings.d.ts b/packages/services/apiV2/typings.d.ts
index 52f8a9d..6dff9aa 100644
--- a/packages/services/apiV2/typings.d.ts
+++ b/packages/services/apiV2/typings.d.ts
@@ -8,9 +8,28 @@
     request?: GetAliyunOSSAcsQuery;
   }
 
+  interface APIgetCurrentLogierMenuParams {
+    /** Id */
+    id?: string;
+  }
+
   interface APIgetCurrentLogierMenusParams {
     /** 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛鑿滃崟 */
     request?: GetCurrentLogierMenusQuery;
+  }
+
+  interface APIgetDictionaryCategorySelectParams {
+    /** 鏌ヨ鏁版嵁瀛楀吀绫诲埆閫夋嫨鍣ㄦ暟鎹� */
+    request?: GetDictionaryCategorySelectQuery;
+  }
+
+  interface APIgetDictionaryDataSelectParams {
+    /** 绫诲埆Id锛圛d/缂栧彿浜岄�変竴锛� */
+    categoryId?: string;
+    /** 绫诲埆缂栧彿锛圛d/缂栧彿浜岄�変竴锛� */
+    categoryCode?: string;
+    /** 涓婄骇Id */
+    parentId?: string;
   }
 
   interface APIgetMenuParams {
@@ -72,6 +91,77 @@
     ids: string[];
   }
 
+  interface DictionaryCategory {
+    id?: string;
+    createdTime?: string;
+    updatedTime?: string;
+    /** 鎺掑簭 */
+    sort?: number;
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鍒涘缓鎿嶄綔浜� */
+    createdUserInfoId?: string;
+    /** 鏈�鍚庢洿鏂版搷浣滀汉 */
+    updatedUserInfoId?: string;
+    /** 鏄惁鍒犻櫎 */
+    isDeleted?: boolean;
+    /** 缂栧彿 */
+    code: string;
+    /** 鍚嶇О */
+    name: string;
+    /** 瀛楁鍚嶏紙閫楀彿闅斿紑锛� */
+    fieldNames?: string;
+    /** 澶囨敞 */
+    remark?: string;
+  }
+
+  interface DictionaryData {
+    id?: string;
+    createdTime?: string;
+    updatedTime?: string;
+    /** 鎺掑簭 */
+    sort?: number;
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鍒涘缓鎿嶄綔浜� */
+    createdUserInfoId?: string;
+    /** 鏈�鍚庢洿鏂版搷浣滀汉 */
+    updatedUserInfoId?: string;
+    /** 鏄惁鍒犻櫎 */
+    isDeleted?: boolean;
+    /** 绫诲埆Id */
+    categoryId?: string;
+    category?: DictionaryCategory;
+    /** 涓婄骇Id */
+    parentId?: string;
+    parent?: DictionaryData;
+    /** 涓嬬骇 */
+    children?: DictionaryData[];
+    /** 瀛楀吀璺緞 */
+    path?: string;
+    /** 缂栧彿 */
+    code?: string;
+    /** 鏄剧ず鍐呭 */
+    content: string;
+    /** 瀛楁1 */
+    field1?: string;
+    /** 瀛楁2 */
+    field2?: string;
+    /** 瀛楁3 */
+    field3?: string;
+    /** 瀛楁4 */
+    field4?: string;
+    /** 瀛楁5 */
+    field5?: string;
+    /** 鏄惁绂佺敤 */
+    isDisabled?: boolean;
+  }
+
+  interface DictionaryDataQueryResult {
+    /** 鍐呭 */
+    content?: string;
+  }
+
   enum EnumClientType {
     /**鐢佃剳缃戦〉 */
     PcWeb = 10,
@@ -106,6 +196,13 @@
     Asc = 0,
     /**闄嶅簭 */
     Desc = 1,
+  }
+
+  enum EnumRealAccess {
+    /**涓婁笂绛� */
+    BestSign = 10,
+    /**鏀粯瀹濅俊浠荤 */
+    AlipaySign = 20,
   }
 
   enum EnumResourceController {
@@ -149,6 +246,11 @@
     CurrentEnterprise = 30,
     /**鏌ヨ鎵�鏈� */
     All = 999,
+  }
+
+  enum EnumSmsAccess {
+    /**闃块噷浜戠煭淇� */
+    AliyunSms = 10,
   }
 
   enum EnumUserInfoStatus {
@@ -354,6 +456,44 @@
     timestamp?: number;
   }
 
+  interface FriendlyResultListSelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    /** 鏁版嵁 */
+    data?: SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption[];
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
+  interface FriendlyResultListSelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    /** 鏁版嵁 */
+    data?: SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption[];
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
   interface FriendlyResultPagedListQueryResultGetDictionaryCategoriesQueryResultItem {
     /** 璺熻釜Id */
     traceId?: string;
@@ -493,10 +633,14 @@
     sort?: number;
   }
 
+  type GetDictionaryCategorySelectQuery = Record<string, any>;
+
   interface GetDictionaryDatasQuery {
     pageModel?: PagedListQueryPageModel;
-    /** 绫诲埆Id */
+    /** 绫诲埆Id锛圛d/缂栧彿浜岄�変竴锛� */
     categoryId?: string;
+    /** 绫诲埆缂栧彿锛圛d/缂栧彿浜岄�変竴锛� */
+    categoryCode?: string;
     /** 鍏抽敭瀛� */
     keywords?: string;
   }
@@ -506,6 +650,11 @@
     id?: string;
     /** 绫诲埆Id */
     categoryId?: string;
+    /** 绫诲埆缂栧彿 */
+    categoryCode?: string;
+    /** 绫诲埆鍚嶇О */
+    categoryName?: string;
+    category?: GetDictionaryDatasQueryResultItemCategory;
     /** 涓婄骇Id */
     parentId?: string;
     /** 缂栧彿 */
@@ -528,6 +677,13 @@
     isDisabled?: boolean;
   }
 
+  interface GetDictionaryDatasQueryResultItemCategory {
+    /** 绫诲埆缂栧彿 */
+    code?: string;
+    /** 鍚嶇О */
+    name?: string;
+  }
+
   interface GetEnterprisesQuery {
     pageModel?: PagedListQueryPageModel;
     /** 鍏抽敭瀛� */
@@ -539,16 +695,25 @@
   interface GetEnterprisesQueryResultItem {
     /** Id */
     id?: string;
-    /** 浼佷笟鍏ㄧО */
-    enterpriseName?: string;
-    /** 娉曚汉濮撳悕 */
-    legalPerson?: string;
-    /** 缁熶竴绀句細淇$敤浠g爜 */
-    societyCreditCode?: string;
     /** 鑱旂郴浜� */
     contacts?: string;
     /** 鑱旂郴鐢佃瘽 */
     contactNumber?: string;
+    /** 鎵�鍦ㄧ渷浠絀d */
+    provinceId?: string;
+    province?: DictionaryDataQueryResult;
+    /** 鎵�鍦ㄥ煄甯侷d */
+    cityId?: string;
+    city?: DictionaryDataQueryResult;
+    /** 鎵�灞炶涓欼d */
+    industryTypeId?: string;
+    industryType?: DictionaryDataQueryResult;
+    /** 鏄惁宸叉牎楠岄摱琛岃处鎴� */
+    isCheckedBankCard?: boolean;
+    realAccess?: EnumRealAccess;
+    smsAccess?: EnumSmsAccess;
+    /** 鏄惁宸查厤缃� */
+    isConfigured?: boolean;
   }
 
   interface GetMenuQueryResult {
@@ -877,6 +1042,7 @@
   }
 
   interface SaveDictionaryCategoryCommand {
+    /** Id */
     id?: string;
     /** 缂栧彿 */
     code: string;
@@ -889,6 +1055,7 @@
   }
 
   interface SaveDictionaryDataCommand {
+    /** Id */
     id?: string;
     /** 绫诲埆Id */
     categoryId?: string;
@@ -912,6 +1079,44 @@
     sort?: number;
     /** 鏄惁绂佺敤 */
     isDisabled?: boolean;
+  }
+
+  interface SaveEnterpriseCommand {
+    /** Id */
+    id?: string;
+    enterpriseAuth: SaveEnterpriseCommandAuth;
+    /** 鎵�鍦ㄧ渷浠絀d */
+    provinceId?: string;
+    province?: DictionaryData;
+    /** 鎵�鍦ㄥ煄甯侷d */
+    cityId?: string;
+    city?: DictionaryData;
+    /** 鎵�灞炶涓欼d */
+    industryTypeId?: string;
+    industryType?: DictionaryData;
+    /** 涓昏惀涓氬姟 */
+    mainBusiness?: string;
+    /** 鑱旂郴浜� */
+    contacts?: string;
+    /** 鑱旂郴鐢佃瘽 */
+    contactPhoneNumber?: string;
+    /** 鑱旂郴閭 */
+    contactEmail?: string;
+    /** 璐﹀彿 */
+    userName?: string;
+    /** 瀵嗙爜 */
+    password?: string;
+  }
+
+  interface SaveEnterpriseCommandAuth {
+    /** 浼佷笟鍏ㄧО */
+    enterpriseName: string;
+    /** 缁熶竴绀句細淇$敤浠g爜 */
+    societyCreditCode: string;
+    /** 娉曚汉濮撳悕 */
+    legalPerson?: string;
+    /** 娉曚汉韬唤璇佸彿 */
+    legalIdentity?: string;
   }
 
   interface SaveMenuButtonCommand {
@@ -1055,11 +1260,48 @@
     resources?: GetRoleQueryResultResource[];
   }
 
+  interface SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption {
+    /** 鍊� */
+    value?: string;
+    /** 鏍囩 */
+    label?: string;
+    /** 鏁版嵁 */
+    data?: any;
+  }
+
+  interface SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption {
+    /** 鍊� */
+    value?: string;
+    /** 鏍囩 */
+    label?: string;
+    /** 鏁版嵁 */
+    data?: any;
+  }
+
   interface SetDictionaryDataIsDisabledCommand {
-    /** Id */
     ids?: string[];
-    /** 鏄惁绂佺敤 */
+    /** 鏄惁宸茬鐢� */
     isDisabled?: boolean;
+  }
+
+  interface SetEnterpriseElectronSignSettingCommand {
+    /** Id */
+    id?: string;
+    realAccess?: EnumRealAccess;
+    /** 瀹炲悕璐圭敤 */
+    realVerifyCost?: number;
+    /** 绛剧害璐圭敤 */
+    signCost?: number;
+    /** 涓�鍙d环 */
+    mergeSignCost?: number;
+  }
+
+  interface SetEnterpriseSmsSettingCommand {
+    /** Id */
+    id?: string;
+    smsAccess?: EnumSmsAccess;
+    /** 鐭俊璐圭敤 */
+    smsCost?: number;
   }
 
   interface SetMenuSwitchCommand {
@@ -1073,9 +1315,8 @@
   }
 
   interface SetRoleIsDisabledCommand {
-    /** Id */
-    ids: string[];
-    /** 鏄惁绂佺敤 */
+    ids?: string[];
+    /** 鏄惁宸茬鐢� */
     isDisabled?: boolean;
   }
 

--
Gitblit v1.9.1