From 024783588e577a68c7e285dd83d1cae9bf9c0862 Mon Sep 17 00:00:00 2001
From: LiuHao <liuhaoai545@gmail.com>
Date: 星期四, 11 一月 2024 14:27:46 +0800
Subject: [PATCH] update 升级@intlify/unplugin-vue-i18n版本依赖 update i18n使用方法。 add 新增i18n vite插件。
---
src/api/system/user/index.ts | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts
index fc516e9..fdcafc2 100644
--- a/src/api/system/user/index.ts
+++ b/src/api/system/user/index.ts
@@ -74,6 +74,9 @@
return request({
url: '/system/user/resetPwd',
method: 'put',
+ headers: {
+ isEncrypt: true
+ },
data: data
});
};
@@ -130,7 +133,10 @@
return request({
url: '/system/user/profile/updatePwd',
method: 'put',
- params: data
+ headers: {
+ isEncrypt: true
+ },
+ data: data
});
};
@@ -173,10 +179,10 @@
* 鏌ヨ褰撳墠閮ㄩ棬鐨勬墍鏈夌敤鎴蜂俊鎭�
* @param deptId
*/
-export const listUserByDeptId = (deptId: string | number): AxiosPromise<DeptVO[]> => {
+export const listUserByDeptId = (deptId: string | number): AxiosPromise<UserVO[]> => {
return request({
- url: "/system/user/list/dept/" + deptId,
- method: "get"
+ url: '/system/user/list/dept/' + deptId,
+ method: 'get'
});
};
--
Gitblit v1.9.3