From ab5ba1cb04581f55b82e6474452adeb239b9ba44 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期三, 22 十一月 2023 16:27:08 +0800 Subject: [PATCH] 1.修改了请求网址的路径 2.修改了路由 --- src/api/exceptionApi.js | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/api/exceptionApi.js b/src/api/exceptionApi.js index cfc4c1f..cf9b86d 100644 --- a/src/api/exceptionApi.js +++ b/src/api/exceptionApi.js @@ -63,7 +63,11 @@ }, - +/** + * 鑾峰彇鎵�鏈夌殑鐐逛綅鍚嶇О鍜屽搴旂殑璁惧缂栧彿 + * @param锛� + * @returns锛� + */ getSitesNum() { return $http.get('/dust/sitename') }, @@ -79,5 +83,15 @@ params.exceptionType = temp } return $http.get('/dust/exceptionsSiteName', { params: params }) - } + }, + + /** + * 鏌ヨ涓嶅悓鐨勫紓甯哥被鍨� + * @param锛� + * @returns锛� + */ + queryExceptionType(){ + return $http.get('/dust/exceptiontype') + }, + } -- Gitblit v1.9.3