From 79d870e1d8c88c01fa5075e3fb30ad9f0b6f37f7 Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期四, 25 四月 2024 15:15:17 +0800 Subject: [PATCH] 修改完254、258、259、260、261错误 --- 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..5ab250f 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