From 053a403319edd8c55662b72c4c34e7e03ae7d249 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 26 六月 2025 16:29:09 +0800
Subject: [PATCH] feat: v2.2

---
 src/hooks/dic.ts |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/hooks/dic.ts b/src/hooks/dic.ts
index 3b84750..ce60fd7 100644
--- a/src/hooks/dic.ts
+++ b/src/hooks/dic.ts
@@ -16,3 +16,19 @@
     refetch,
   };
 }
+
+export function useUserInsureProductSetting() {
+  const { data: allUserInsureProductSettingList, refetch } = useQuery({
+    queryKey: ['dictionaryServices/getUserInsureProductSetting'],
+    queryFn: async () => {
+      let res = await dictionaryServices.getUserInsureProductSetting({ showLoading: false });
+      return res;
+    },
+    placeholderData: () => [] as API.InsureProductSettingDto[],
+  });
+
+  return {
+    allUserInsureProductSettingList,
+    refetch,
+  };
+}

--
Gitblit v1.9.1