重构风险点隐患点显示逻辑

This commit is contained in:
wzy-warehouse
2026-04-11 18:58:43 +08:00
parent e17a73537c
commit 824c980dbc
15 changed files with 320 additions and 79 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import type { DisasterType } from "@/types/common/DisasterType"
import httpInstance from "@/utils/request/http"
/**
* 获取隐藏危险点数据
* 获取隐点数据
* @param disasterType 灾害类型
* @returns 隐患点数据
*/
@@ -18,7 +18,7 @@ export const getBasePoins = (disasterType: DisasterType): Promise<ApiResponse<Xi
/**
* 根据id获取隐患点详情
* @param id 隐藏危险点id
* @param id 隐点id
* @returns 隐患点详情
*/
export const getPointDetailById = (id: number): Promise<ApiResponse<XianHiddenDangerSpots>> => {