From a4db210c069cd45448067fffb39f070e9d119bb9 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 26 九月 2023 17:00:32 +0800
Subject: [PATCH] 修改家大事记 的图片文件上传 直调接口
---
ruoyi-ui/src/api/contacts/index.js | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/api/contacts/index.js b/ruoyi-ui/src/api/contacts/index.js
index 00bdf40..325fafe 100644
--- a/ruoyi-ui/src/api/contacts/index.js
+++ b/ruoyi-ui/src/api/contacts/index.js
@@ -10,9 +10,9 @@
}
// 鏍规嵁id鏌ヨ閫氳褰曡缁嗕俊鎭�
-export function getContactIdList() {
+export function getContactIdList(id) {
return request({
- url: '/zfContact/2' ,
+ url: '/zfContact/' + id,
method: 'get',
})
@@ -62,3 +62,11 @@
responseType: 'blob'
})
}
+//涓婁紶鏂囦欢
+export function enload(data) {
+ return request({
+ url: '/zfContact/importData',
+ method: 'post',
+ data: data
+ })
+}
--
Gitblit v1.9.1