From 6d9e8a35d81e6d1feb2136690661d43c6cfd53b7 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 05 三月 2024 18:11:35 +0800
Subject: [PATCH] Excel导入部分

---
 src/api/dg/dangerInfo/index.ts |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/api/dg/dangerInfo/index.ts b/src/api/dg/dangerInfo/index.ts
index 6196d28..9dc3e55 100644
--- a/src/api/dg/dangerInfo/index.ts
+++ b/src/api/dg/dangerInfo/index.ts
@@ -17,17 +17,15 @@
 };
 
 /**
- * 鏌ヨ瀹夊叏闅愭偅绫诲瀷鏉′欢
- * @param query
- * @returns {*}
+ * 鏌ヨ瀹夊叏闅愭偅淇℃伅鍒楄〃
  */
 
-// export const dangerTypes = (): AxiosPromise<String[]> => {
-//   return request({
-//     url: '/demo/dangerInfo/getDangerType',
-//     method: 'get'
-//   });
-// };
+export const getDangerType = (): AxiosPromise<DangerInfoVO[]> => {
+  return request({
+    url: '/demo/dangerInfo/getDangerType',
+    method: 'get'
+  });
+};
 
 /**
  * 鏌ヨ瀹夊叏闅愭偅淇℃伅璇︾粏

--
Gitblit v1.8.0