From bf4cb195c34e79dae5576b21a215118b7ef1357f Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期四, 11 七月 2024 21:33:39 +0800 Subject: [PATCH] 修改了bug和用户管理配偶显示问题 --- ruoyi-ui/src/api/collection/index.js | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/collection/index.js b/ruoyi-ui/src/api/collection/index.js index 2a53a4e..14bf1d0 100644 --- a/ruoyi-ui/src/api/collection/index.js +++ b/ruoyi-ui/src/api/collection/index.js @@ -9,6 +9,15 @@ }) } +//绫诲埆鏁版嵁 +export function listType(query) { + return request({ + url: '/zfCollection/type', + method: 'get', + params: query + }) +} + // 鏍规嵁id鏌ヨ鏀惰棌鍜岃崳瑾� export function getCollection(id) { return request({ @@ -48,7 +57,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -62,3 +71,12 @@ responseType: 'blob' }) } + +//瀵煎叆 +export function enload(data) { + return request({ + url: '/zfCollection/importData', + method: 'post', + data: data + }) +} -- Gitblit v1.9.1