Browse Source

修改 获取道路的接口

wangqin
Joe 11 months ago
parent
commit
4868c9b61d
  1. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js

8
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) { export async function getRoadInfoByStakeMark(stakeMarkId) {
const stakeMarkInfo = await request({ const stakeMarkInfo = await request({
url: `/business/stakeMark/${stakeMarkId}`, // url: `/business/stakeMark/${stakeMarkId}`,
url: `/business/stakeMark`,
method: "get", method: "get",
// params params: {
id: stakeMarkId,
direction: 1,
},
}); });
if (!stakeMarkInfo.data?.sectionId) return {}; if (!stakeMarkInfo.data?.sectionId) return {};

Loading…
Cancel
Save