From 425588eb8d6008e785070ea6c26106567bb8c6c1 Mon Sep 17 00:00:00 2001 From: qingzhengli <1204552371@qq.com> Date: Wed, 13 Mar 2024 14:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=84=9F=E7=9F=A5?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E6=8E=A5=E5=8F=A3=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/Home/components/RoadAndEvents/utils/httpList.js | 6 +++--- 1 file changed, 3 insertions(+), 3 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 01a7e33e..951ceb5c 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 @@ -267,13 +267,13 @@ export function getProduct(productId) { * 交通事件 列表 根据类型获取 * @param {number} eventType */ -export function getEventTopicList(eventType) { +export function getEventTopicList(eventType, options) { return new Promise((resolve, reject) => { if (!eventType) { Message.error(`事件加载失败!`); return reject(); } - + // console.log(options, "options xxxx"); request({ url: `/business/trafficIncidents/getEventList?eventType=${eventType}`, method: "post", @@ -300,7 +300,7 @@ export function getEventTopicList(eventType) { export function getPerceiveEventList(data = {}) { return new Promise((resolve, reject) => { request({ - url: `/perceivedEvents/warning/perceivedEventsList`, + url: `/perceivedEvents/warning/warningList`, method: "POST", data: { ...data }, })