From 156e136377680ac2dd5ad89735b7273db6f6d1d5 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期六, 24 二月 2024 20:27:02 +0800
Subject: [PATCH] 远程部署功能完善

---
 Source/UBCS-WEB/src/api/system/deploy.js |   33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/system/deploy.js b/Source/UBCS-WEB/src/api/system/deploy.js
index 3c7ca90..204464d 100644
--- a/Source/UBCS-WEB/src/api/system/deploy.js
+++ b/Source/UBCS-WEB/src/api/system/deploy.js
@@ -2,10 +2,39 @@
 
 export const getApplications = () => {
   return request({
-    // headers: {'Accept': 'application/json'},
-    // url: '/api/ubcs-admin/applications',
     url: '/api/ubcs-deploy/deploy/applications',
     method: 'get',
   })
 }
 
+export const saveOrGetServiceConfInfo = (row) => {
+  return request({
+    url: '/api/ubcs-deploy/deploy/saveOrGetServiceConfInfo',
+    method: 'post',
+    data: row
+  })
+}
+
+export const saveOrUpdateServiceInfo = (row) => {
+  return request({
+    url: '/api/ubcs-deploy/deploy/saveOrUpdateServiceInfo',
+    method: 'post',
+    data: row
+  })
+}
+
+export const addSave = (row) => {
+  return request({
+    url: '/api/ubcs-deploy/deploy/addSave',
+    method: 'post',
+    data: row
+  })
+}
+
+export const executeCmd = (row) => {
+  return request({
+    url: '/api/ubcs-deploy/deploy/cmdExecute',
+    method: 'post',
+    data: row
+  })
+} 
\ No newline at end of file

--
Gitblit v1.9.3