From 82981caf0bc94e2ad1237b28cc4e3810231539c9 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Tue, 08 Apr 2025 10:22:12 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard

---
 src/api/home/common.js |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/api/home/common.js b/src/api/home/common.js
index 367f845..9a56796 100644
--- a/src/api/home/common.js
+++ b/src/api/home/common.js
@@ -3,7 +3,7 @@
 // 字典查询 行业 算法 工单类型
 export const getDictionary = params => {
 	return request({
-		url: `/blade-system/dict-biz/listByCodes?code=${params}`,
+		url: `/blade-system/dict-biz/listByCodes?codes=${params}`,
 		method: 'get',
 	})
 }
@@ -11,9 +11,9 @@
 // 区域
 export const deptsByAreaCode = params => {
 	return request({
-		url: `/blade-system/dept/deptsByAreaCode`,
+		url: `/blade-system/dept/deptsByAreaCode?areaCode=${params}`,
 		method: 'get',
-		params,
+		params: {},
 	})
 }
 
@@ -25,3 +25,11 @@
 		params,
 	})
 }
+// 获取天气建议
+export const getDroneSuggest = params => {
+	return request({
+		url: `/drone-device-core/dp/home/getDroneSuggest`,
+		method: 'get',
+		params,
+	})
+}

--
Gitblit v1.9.3