lct
Your Name
2022-08-08 fe4005fe29aafa104485ffa2392598bd8dccd347
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'
            });
        }