From 4868c9b61d6556a3235f72f628fff1ce4043c4de Mon Sep 17 00:00:00 2001 From: Joe <1712833832@qq.com> Date: Thu, 18 Jan 2024 19:29:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E9=81=93=E8=B7=AF=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/Home/components/RoadAndEvents/utils/httpList.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js index add69164..60c6ea9c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js @@ -72,9 +72,13 @@ export function controlCamera(camId, cmdType) { */ export async function getRoadInfoByStakeMark(stakeMarkId) { const stakeMarkInfo = await request({ - url: `/business/stakeMark/${stakeMarkId}`, + // url: `/business/stakeMark/${stakeMarkId}`, + url: `/business/stakeMark`, method: "get", - // params + params: { + id: stakeMarkId, + direction: 1, + }, }); if (!stakeMarkInfo.data?.sectionId) return {};