From fd19536cbf9e5acec9bf7270f3f46037e822827d Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期二, 29 八月 2023 16:44:45 +0800
Subject: [PATCH] 添加菜单折叠自适应宽度 修改密码  修改用户角色 中英文切换全局配置

---
 CanadaMes-ui/src/api/user.js |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/CanadaMes-ui/src/api/user.js b/CanadaMes-ui/src/api/user.js
index 4bb99f2..80a93bf 100644
--- a/CanadaMes-ui/src/api/user.js
+++ b/CanadaMes-ui/src/api/user.js
@@ -25,7 +25,40 @@
         data
     })
 }
+export function test(data) {
+    return request({
+        url: '/api/device/getAllDevices',
+        method: 'get',
+        data
+    })
+}
+export function testup(data) {
+    return request({
+        url: '/api/device/updateDeviceName',
+        method: 'post',
+        data
+    })
+}
 
+export function call(data) {
+    return request({
+        url: '/api/device/call-stored-proc',
+        method: 'post',
+        data
+    })
+}
+/**
+ * 娉ㄥ唽鏃舵牎楠岀敤鎴峰悕鏄惁瀛樺湪
+ * @param data
+ * @returns {AxiosPromise}
+ */
+export function changePassword(data) {
+    return request({
+        url: '/api/user/changePassword',
+        method: 'post',
+        data
+    })
+}
 /**
  * 娉ㄥ唽鏃舵牎楠岀敤鎴峰悕鏄惁瀛樺湪
  * @param data

--
Gitblit v1.8.0