refactor(api): 统一API相关文件路径到'@/api'目录下

This commit is contained in:
feige996
2025-08-05 17:51:04 +08:00
parent 17e5030dfe
commit 46e59ee6f7
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { IFooItem } from '@/service/index/foo'
import { getFooAPI } from '@/service/index/foo'
import type { IFooItem } from '@/api/foo'
import { getFooAPI } from '@/api/foo'
const recommendUrl = ref('http://laf.run/signup?code=ohaOgIX')

View File

@@ -10,7 +10,7 @@
<script lang="ts" setup>
import { useQuery } from '@tanstack/vue-query'
import { foo } from '@/api/foo'
import { getFooQueryOptions } from '@/service/index/vue-query'
import { getFooQueryOptions } from '@/api/foo-vue-query'
// 简单使用
onShow(async () => {