From 28a4ffa818ba6ae807c83c882a91f7125a7f0f0e Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期二, 05 九月 2023 20:41:45 +0800 Subject: [PATCH] 修改旅游 --- ruoyi-ui/src/api/wish/index.js | 35 ++++++++++++++++++++++------------- 1 files changed, 22 insertions(+), 13 deletions(-) diff --git a/ruoyi-ui/src/api/wish/index.js b/ruoyi-ui/src/api/wish/index.js index eb4e58c..ba437c6 100644 --- a/ruoyi-ui/src/api/wish/index.js +++ b/ruoyi-ui/src/api/wish/index.js @@ -10,12 +10,12 @@ } // 鏍规嵁id鏌ヨ -export function getWish(id) { +export function getWish(queryParameters) { return request({ - url: '/zIdea/' + id, + url: '/zIdea', method: 'get', - - }) + params: queryParameters + }); } //鏂板 @@ -53,6 +53,14 @@ data: data }) } +//涓婁紶鏂囦欢 +export function enload(data) { + return request({ + url: '/zIdea/importData', + method: 'post', + data: data + }) +} //涓嬭浇鏂囦欢 export function download(data) { return request({ @@ -62,12 +70,13 @@ responseType: 'blob' }) } -//瀵煎叆妯℃澘 -export function downloadModel(data) { - return request({ - url: '/zIdea/model', - method: 'get', - params: data, - responseType: 'blob' - }) -} + +// //瀵煎叆妯℃澘 +// export function downloadModel(data) { +// return request({ +// url: '/zIdea/model', +// method: 'get', +// params: data, +// responseType: 'blob' +// }) +// } -- Gitblit v1.9.1