|
@@ -33,7 +33,7 @@ export const getUserpageFetch = (params: any) =>
|
|
|
});
|
|
|
|
|
|
|
|
|
-export const addUserFetch = (params: Pick<UserType, 'orgId' | 'userName' | 'nickName' | 'password'>) =>
|
|
|
+export const addUserFetch = (params: any) =>
|
|
|
sendFetch<ResPage<PageProps<UserType>>>(URL.addUser, {
|
|
|
method: "post",
|
|
|
body: JSON.stringify(params),
|