From fae5df1d3f1ae875ac546cacfb4744b2e8230ca2 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期一, 29 七月 2024 11:07:24 +0800
Subject: [PATCH] 修改了bug
---
ruoyi-ui/src/api/selfeconomy/index.js | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/ruoyi-ui/src/api/selfeconomy/index.js b/ruoyi-ui/src/api/selfeconomy/index.js
index a7afd80..27e63df 100644
--- a/ruoyi-ui/src/api/selfeconomy/index.js
+++ b/ruoyi-ui/src/api/selfeconomy/index.js
@@ -13,11 +13,11 @@
// 鏍规嵁id鏌ヨ鎵�鏈変釜浜鸿储浜т俊鎭�
-export function getSelfEconomyInfo(id) {
+export function getSelfEconomyInfo(queryParameters) {
return request({
- url: '/zProperty/'+ id,
+ url: '/zProperty',
method: 'get',
- params: query
+ params: queryParameters
})
}
//鏂板
@@ -49,7 +49,7 @@
//涓婁紶鏂囦欢
export function uploadPic(data) {
return request({
- url: '/common/upload',
+ url: '/common/uploads',
method: 'post',
data: data
})
@@ -63,5 +63,13 @@
responseType: 'blob'
})
}
+//涓婁紶鏂囦欢
+export function enload(data) {
+ return request({
+ url: '/zProperty/importData',
+ method: 'post',
+ data: data
+ })
+}
--
Gitblit v1.9.1