From a5a49ece3191bf8210c42b522503687cedb420c2 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期二, 26 十二月 2023 16:55:40 +0800
Subject: [PATCH] 修改input通过光标焦点是否在input内控制是否更新数据,回车下发参数让input失去焦点更新数据

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

diff --git a/CanadaMes-ui/src/api/user.js b/CanadaMes-ui/src/api/user.js
index 4bb99f2..990b18a 100644
--- a/CanadaMes-ui/src/api/user.js
+++ b/CanadaMes-ui/src/api/user.js
@@ -13,6 +13,32 @@
     })
 }
 
+
+export function currentUsername() {
+    return request({
+        url: '/api/user/currentUsername',
+        method: 'get',
+        
+    })
+ }
+
+export function resetPass(data) {
+   return request({
+       url: '/api/user/resetPass',
+       method: 'post',
+       data
+   })
+}
+
+export function yanzhengmima(data) {
+    return request({
+        url: '/api/user/verifyPassword',
+        method: 'post',
+        data
+    })
+ }
+
+
 /**
  * 娉ㄥ唽
  * @param data
@@ -25,7 +51,40 @@
         data
     })
 }
+export function test(data) {
+    return request({
+        url: '/api/device/getAllDevices',
+        method: 'get',
+        data
+    })
+}
+export function testup(data) {
+    return request({
+        url: '/api/device/updateMultipleDevices',
+        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