From bf0eb543e2deab8a1629dd2a46f8e1cd191531e1 Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期四, 17 七月 2025 15:22:01 +0800 Subject: [PATCH] Merge branch 'master' of http://103.135.160.14:9034/r/NslWeb --- src/api/hpApi.js | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/api/hpApi.js b/src/api/hpApi.js index b18a094..9c220ff 100644 --- a/src/api/hpApi.js +++ b/src/api/hpApi.js @@ -247,15 +247,18 @@ return response.data; } -// 鏌ヨ瀛欒儭娌熼伩闄╁満鎵� -export async function getSafePoint() { +// 鏌ヨ鍖椾含甯傞伩闄╁満鎵� +export async function getSafePoint(data) { const response = await axios.get("/hp/safeHavenLocation/getDataSelect", { params: { - divisionId: 110116110218 + divisionId: data } }); return response.data; } +// 110116110218 + + // 鏌ヨ鍖椾含甯� export async function getAllCode() { @@ -283,4 +286,14 @@ } }); return response.data; +} + +// 鐩戞祴璁惧涓叧鑱旂殑闅愭偅鐐圭殑鍏蜂綋淇℃伅 +export async function hdByDevice(data) { + const response = await axios.get("/hp/sinoDzHiddenDangerPoint/getDetail", { + params: { + unifiedCode: data + } + }); + return response.data; } \ No newline at end of file -- Gitblit v1.9.3