diff --git a/frontend/src/features/listings/views/ListingDetailView.vue b/frontend/src/features/listings/views/ListingDetailView.vue index d69604f..d61cc65 100644 --- a/frontend/src/features/listings/views/ListingDetailView.vue +++ b/frontend/src/features/listings/views/ListingDetailView.vue @@ -3,8 +3,8 @@ import { ElMessage } from "element-plus"; import { computed, onMounted, ref } from "vue"; import { useRoute, useRouter } from "vue-router"; -import { fetchListing, type Listing } from "@/api/listings"; -import { createOrder } from "@/api/orders"; +import { fetchListing, type Listing } from "@/features/listings/api/listings"; +import { createOrder } from "@/features/orders/api/orders"; import { useSessionStore } from "@/stores/session"; import { assetRegions, diff --git a/frontend/src/features/listings/views/ListingsView.vue b/frontend/src/features/listings/views/ListingsView.vue index c261255..72cbe9c 100644 --- a/frontend/src/features/listings/views/ListingsView.vue +++ b/frontend/src/features/listings/views/ListingsView.vue @@ -4,14 +4,14 @@ import { computed, onMounted, reactive, ref } from "vue"; import { emptyListingPublishOptions, type ListingPublishOptions, -} from "@/api/listingOptions"; -import { fetchListings, type Listing } from "@/api/listings"; +} from "@/features/listings/api/listingOptions"; +import { fetchListings, type Listing } from "@/features/listings/api/listings"; import { defaultHomeAnnouncements, defaultHomeBanners, fetchMobileHomeConfig, type HomeBannerSlide, -} from "@/api/homeConfig"; +} from "@/features/listings/api/homeConfig"; import { assetRegions, formatHafCoinM, diff --git a/frontend/src/features/listings/views/MobileHomeView.vue b/frontend/src/features/listings/views/MobileHomeView.vue index 84ef6e5..790fb32 100644 --- a/frontend/src/features/listings/views/MobileHomeView.vue +++ b/frontend/src/features/listings/views/MobileHomeView.vue @@ -4,18 +4,18 @@ import { RouterLink, useRouter } from "vue-router"; import { showToast } from "vant"; import MobileBottomNav from "@/components/MobileBottomNav.vue"; -import { ensureSupportChat } from "@/api/chats"; +import { ensureSupportChat } from "@/features/chats/api/chats"; import { emptyListingPublishOptions, type ListingPublishOptions, -} from "@/api/listingOptions"; -import { fetchListingsPage, type Listing, type PublicListingQuery } from "@/api/listings"; +} from "@/features/listings/api/listingOptions"; +import { fetchListingsPage, type Listing, type PublicListingQuery } from "@/features/listings/api/listings"; import { defaultHomeAnnouncements, defaultHomeBanners, fetchMobileHomeConfig, type HomeBannerSlide, -} from "@/api/homeConfig"; +} from "@/features/listings/api/homeConfig"; import MobileHomeFilterSheet, { type FilterSection, } from "./MobileHomeFilterSheet.vue"; diff --git a/frontend/src/features/listings/views/MobileListingDetailView.vue b/frontend/src/features/listings/views/MobileListingDetailView.vue index ab54738..7827e8f 100644 --- a/frontend/src/features/listings/views/MobileListingDetailView.vue +++ b/frontend/src/features/listings/views/MobileListingDetailView.vue @@ -3,8 +3,8 @@ import { computed, onMounted, ref } from "vue"; import { useRoute, useRouter } from "vue-router"; import { showToast, showDialog } from "vant"; -import { fetchListing, type Listing } from "@/api/listings"; -import { createOrder } from "@/api/orders"; +import { fetchListing, type Listing } from "@/features/listings/api/listings"; +import { createOrder } from "@/features/orders/api/orders"; import { useSessionStore } from "@/stores/session"; import { assetRegions,