From 20d897c3f1b2a09c41ff489a854b54529afe402b Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 03 七月 2023 09:22:22 +0800
Subject: [PATCH] 提交文件

---
 src/api/daping.js |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/src/api/daping.js b/src/api/daping.js
index 48d73f9..54bd638 100644
--- a/src/api/daping.js
+++ b/src/api/daping.js
@@ -2,36 +2,41 @@
 
 //涓绘満
 export const getHost = params => {
-  return getRequest('/getHost', params);
+  return getRequest('/tssw/api/getHost', params);
 }
 
 //鏁伴�氳澶�
 export const getSnmp = params => {
-  return getRequest('/getSnmp', params);
+  return getRequest('/tssw/api/getSnmp', params);
 }
 
 //宸℃浠诲姟
 export const getTask = params => {
-  return getRequest('/getTask', params);
+  return getRequest('/tssw/api/getTask', params);
 }
 
 //宸℃浠诲姟璇︽儏
 export const getTaskInfoById = params => {
-  return getRequest('/getTaskInfoById', params);
+  return getRequest('/tssw/api/getTaskInfoById', params);
 }
 
 //UPS
 export const getUps = params => {
-  return getRequest('/getUps', params);
+  return getRequest('/tssw/api/getUps', params);
 }
 
 //绌鸿皟
 export const getKongtiao = params => {
-  return getRequest('/getKongtiao', params);
+  return getRequest('/tssw/api/getKongtiao', params);
 }
 
 //鍙宠竟寮傚父鏃ュ織
 export const getWarn = params => {
-  return getRequest('/getWarn', params);
+  return getRequest('/tssw/api/getWarn', params);
+}
+
+//鍙宠竟寮傚父鏃ュ織
+export const upload = params => {
+  return postRequest('/tssw/api/upload', params);
 }
 

--
Gitblit v1.9.1