diff --git a/src/services/api/avatar.tsx b/src/services/api/avatar.ts similarity index 100% rename from src/services/api/avatar.tsx rename to src/services/api/avatar.ts diff --git a/src/services/auth.tsx b/src/services/auth.ts similarity index 100% rename from src/services/auth.tsx rename to src/services/auth.ts diff --git a/src/services/system.tsx b/src/services/system.ts similarity index 99% rename from src/services/system.tsx rename to src/services/system.ts index 047b0be..cd9e41d 100644 --- a/src/services/system.tsx +++ b/src/services/system.ts @@ -24,7 +24,7 @@ import { URL_SYS_SETTINGS_TWO_FACTOR, URL_SYS_TOOL_BASE_LIST } from '@/constants/urls.constants' -import request from '@/services/index' +import request from '@/services' export const r_sys_user_info_get = () => request.get(URL_SYS_USER_INFO) diff --git a/src/services/tool.tsx b/src/services/tool.ts similarity index 98% rename from src/services/tool.tsx rename to src/services/tool.ts index 2a31952..5fe9183 100644 --- a/src/services/tool.tsx +++ b/src/services/tool.ts @@ -1,4 +1,4 @@ -import request from '@/services/index' +import request from '@/services' import { URL_TOOL, URL_TOOL_CATEGORY, diff --git a/src/util/auth.tsx b/src/util/auth.ts similarity index 100% rename from src/util/auth.tsx rename to src/util/auth.ts diff --git a/src/util/browser.tsx b/src/util/browser.ts similarity index 100% rename from src/util/browser.tsx rename to src/util/browser.ts diff --git a/src/util/hooks.tsx b/src/util/hooks.ts similarity index 100% rename from src/util/hooks.tsx rename to src/util/hooks.ts diff --git a/src/util/navigation.tsx b/src/util/navigation.ts similarity index 100% rename from src/util/navigation.tsx rename to src/util/navigation.ts