From 0c8c50f38fa5b1b10f38325217394bd24fca5247 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 29 二月 2024 15:00:02 +0800 Subject: [PATCH] code整合布局代码 --- 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