From 6220f2f8df27d2457922b1f7ff21c2f20b319d6a Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Thu, 3 Jul 2025 00:54:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=91=E9=87=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/constants.ts | 2 +- components/pages/home-page2.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/constants.ts b/api/constants.ts index 06ee960..08eac7f 100644 --- a/api/constants.ts +++ b/api/constants.ts @@ -1 +1 @@ -export const BASE_URL = "/api/proxy" +export const BASE_URL = "https://movieflow.api.huiying.video" diff --git a/components/pages/home-page2.tsx b/components/pages/home-page2.tsx index f199b7d..4ec0a2e 100644 --- a/components/pages/home-page2.tsx +++ b/components/pages/home-page2.tsx @@ -43,7 +43,7 @@ export function HomePage2() { setIsLoadingResources(true); const response = await getResourcesList({ published: 1 }); console.log(response); - if (response.code === 0 && response.successfull) { + if (response.code === 0) { setResources(response.data); } else { console.error('获取资源列表失败:', response.message);