import { useAxios } from '../../../../../hooks/base/useAxios/index.mjs';
import request from '../../../request.mjs';

function usePostBasicV1OrgDeptList(config, options) {
  const useAxiosReturn = useAxios(
    "/basic/v1/org/dept/list",
    { method: "post", ...config },
    request,
    { immediate: false, ...options }
  );
  function exec(input, axiosConfig) {
    return useAxiosReturn.execute({ data: input, ...axiosConfig });
  }
  return { ...useAxiosReturn, exec };
}

export { usePostBasicV1OrgDeptList };
//# sourceMappingURL=usePostBasicV1OrgDeptList.mjs.map
