From 4d18d6d118e265cb131c1ece7a0f0ab0a2db4ce7 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期日, 14 一月 2024 20:16:35 +0800
Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdc-front

---
 src/api/Api.js |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/src/api/Api.js b/src/api/Api.js
index 2ed11c1..231a25a 100644
--- a/src/api/Api.js
+++ b/src/api/Api.js
@@ -1,7 +1,7 @@
 /*
  * @Date: 2024-01-10 20:37:45
  * @LastEditors: Sneed
- * @LastEditTime: 2024-01-14 15:03:32
+ * @LastEditTime: 2024-01-14 16:44:10
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/api/Api.js
  */
 import ajax from '@/utils/ajax'
@@ -16,6 +16,7 @@
 	//璁惧绫诲瀷
 	deviceTypeCreate: '/devicetype/create',
     deviceTypeUpdate: '/devicetype/update',
+	deviceTypeDelete: '/devicetype/delete',
     // 杞﹂棿 宸ユ涓嬪暒鏁版嵁
     getWsl: '/machine/workshopList',
     getPcl: '/machine/protocolList'
@@ -24,6 +25,10 @@
     accountQuery: {
         url: '/account/remainings',
         method: 'GET'
+    },
+    accountDel: {
+        url: '/account/delete',
+        method: 'POST'
     },
     componentQuery: {
         url: '/component/pageQuery',
@@ -39,6 +44,10 @@
     },
     maintainUpdate: {
         url: '/maintain/update',
+        method: 'POST'
+    },
+    maintainDel: {
+        url: '/maintain/delete',
         method: 'POST'
     },
     maintaindelete: {
@@ -57,7 +66,7 @@
         url: '/devicetype/update',
         method: 'POST'
     },
-    deviceTypeDel: {
+    deviceTypeDelete: {
         url: '/devicetype/delete',
         method: 'POST'
     },
@@ -80,6 +89,10 @@
     machineUpdate: {
         url: '/machine/modify',
         method: 'POST'
+    },
+    userList: {
+        url: '/user/list',
+        method: 'GET'
     }
 }
 // 姝e紡鐜閰嶇疆鍦板潃
@@ -136,6 +149,10 @@
 export function deviceTypeUpdate(params) {
     return sendRequest(HttpConstants.deviceTypeUpdate, params)
 }
+export function deviceTypeDelete(ids) {
+	console.log(HttpConstants.deviceTypeDelete)
+    return sendRequest(HttpConstants.deviceTypeDelete, { ids: ids })
+}
 
 // 
 export function getWsl(params) {

--
Gitblit v1.9.3