From 1632ba92d37e43baf671f7d465b67d644d545cf5 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期三, 03 一月 2024 08:06:57 +0800
Subject: [PATCH] 测试更新,添加出片队列排序
---
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