From f4357cc86cd66e27476bc865b8a61b04c1e7c59a Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期六, 23 三月 2024 22:16:07 +0800 Subject: [PATCH] 提交代码 --- ruoyi-ui/src/api/wish/index.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/api/wish/index.js b/ruoyi-ui/src/api/wish/index.js index 55a43de..5495b14 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 + }); } //鏂板 @@ -48,7 +48,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) -- Gitblit v1.9.1