From 54a72ae51d8f17379fe515eb66759ec7de0663d0 Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期一, 12 八月 2024 10:42:51 +0800 Subject: [PATCH] fix: 上传图片优化 --- src/api/authority.ts | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/authority.ts b/src/api/authority.ts index 76e14c9..f3a9039 100644 --- a/src/api/authority.ts +++ b/src/api/authority.ts @@ -8,6 +8,7 @@ email: string; phoneNumber: string; dept: any; + deptName:string; resources: any; knowledges: any; dialogs: any; @@ -85,8 +86,8 @@ return axios.post('/base/system/user', { user }); } -export function UserDelete(userId) { - return axios.delete('/base/system/user/' + userId); +export function UserDelete(id) { + return axios.delete('/base/system/user/' + id); } export function OrganizationList(key: string) { -- Gitblit v1.8.0