From fe4005fe29aafa104485ffa2392598bd8dccd347 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期一, 08 八月 2022 14:59:15 +0800 Subject: [PATCH] lct --- src/api/systemManage/user/index.ts | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/systemManage/user/index.ts b/src/api/systemManage/user/index.ts index 1f8f991..c7d4261 100644 --- a/src/api/systemManage/user/index.ts +++ b/src/api/systemManage/user/index.ts @@ -5,7 +5,7 @@ // v1 getUserList: (data: any) => { return request({ - url: `/account/page/list`, + url: import.meta.env.VITE_API_URL + `/account/page/list`, method: 'post', data: data }); @@ -13,7 +13,7 @@ // v1 addUser: (data: object) => { return request({ - url: `/account/add`, + url: import.meta.env.VITE_API_URL + `/account/add`, method: 'post', data: data }); @@ -21,7 +21,7 @@ // v1 modUser: (data: object) => { return request({ - url: `/account/mod`, + url: import.meta.env.VITE_API_URL + `/account/mod`, method: 'post', data: data }); @@ -29,7 +29,7 @@ // v1 getUserLByDepartment: (depId: number | null) => { return request({ - url: `/account/dep/list?depId=${depId == null ? '' : depId}`, + url: import.meta.env.VITE_API_URL + `/account/dep/list?depId=${depId == null ? '' : depId}`, method: 'get' }); } -- Gitblit v1.9.2