From 3f35c2f5d5eea9c1f0212b5fafa273adb4de0a82 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期五, 29 三月 2024 23:16:19 +0800 Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web --- ruoyi-ui/src/api/device/index.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/device/index.js b/ruoyi-ui/src/api/device/index.js index e4e9258..96b7aab 100644 --- a/ruoyi-ui/src/api/device/index.js +++ b/ruoyi-ui/src/api/device/index.js @@ -49,7 +49,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -63,6 +63,14 @@ responseType: 'blob' }) } +//涓婁紶鏂囦欢 +export function enload(data) { + return request({ + url: '/zfEquipment/importData', + method: 'post', + data: data + }) +} // //鎷垮埌绫诲埆 // export function getCategory() -- Gitblit v1.9.1