From db3d71b62fcd859bf5e2c75b107c1d28bd977632 Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期日, 23 六月 2024 18:23:45 +0800 Subject: [PATCH] 修改了333之前的报错 --- ruoyi-ui/src/api/bignote/index.js | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/api/bignote/index.js b/ruoyi-ui/src/api/bignote/index.js index 5bad6ab..fa79d57 100644 --- a/ruoyi-ui/src/api/bignote/index.js +++ b/ruoyi-ui/src/api/bignote/index.js @@ -1,6 +1,6 @@ import request from '@/utils/request' -// Familyevent +// Familyevent // 鏌ヨ鎵�鏈夊搴ぇ浜嬶紝鍒嗛〉鏌ヨ export function listFamilyevent(query) { @@ -14,7 +14,7 @@ // 鏍规嵁id鏌ヨ鎵�鏈夊搴祫浜ц缁嗕俊鎭� export function getFamilyeventInfo(id) { return request({ - url: '/family/zfEvent/{id}' + id, + url: '/family/zfEvent/' + id, method: 'get', }) @@ -48,7 +48,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -62,6 +62,14 @@ responseType: 'blob' }) } +//瀵煎叆 +export function enload(data) { + return request({ + url: '/family/zfEvent/importData', + method: 'post', + data: data + }) +} // //鎷垮埌绫诲埆 // export function getCategory() @@ -72,5 +80,3 @@ // params: {'id':22} // }) // } - - -- Gitblit v1.9.1