update 优化 整体代码结构

This commit is contained in:
疯狂的狮子Li
2023-08-11 17:58:58 +08:00
parent 73df6a1b30
commit f3195be732
16 changed files with 62 additions and 68 deletions

View File

@ -175,8 +175,8 @@ export const updateAuthRole = (data: { userId: string; roleIds: string }) => {
*/
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'
});
};