From 68301358b4e46d2cb9c3bb8dc1d7b41342cdcab8 Mon Sep 17 00:00:00 2001 From: zimplexing Date: Fri, 4 Jul 2025 16:53:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B0=91=E5=84=BF=E5=88=86?= =?UTF-8?q?=E7=B1=BB&=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index.tsx | 2 +- backend/package.json | 6 +++--- backend/src/routes/search.ts | 9 +++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/index.tsx b/app/index.tsx index 80c5b40..2f7346d 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -46,7 +46,7 @@ const initialCategories: Category[] = [ { title: "热门剧集", type: "tv", tag: "热门" }, { title: "热门电影", type: "movie", tag: "热门" }, { title: "豆瓣 Top250", type: "movie", tag: "top250" }, - // { title: "儿童", type: "movie", tag: "儿童" }, + { title: "儿童", type: "movie", tag: "少儿" }, { title: "美剧", type: "tv", tag: "美剧" }, { title: "韩剧", type: "tv", tag: "韩剧" }, { title: "日剧", type: "tv", tag: "日剧" }, diff --git a/backend/package.json b/backend/package.json index ccfa41e..b5d4ec9 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,12 +1,12 @@ { - "name": "mytv-backend", - "version": "1.0.0", + "name": "OrionTV-proxy", + "version": "1.0.1", "description": "Backend service for MyTV application", "main": "dist/index.js", "scripts": { "start": "node dist/index.js", "build": "tsc", - "dev": "ts-node-dev --respawn --transpile-only src/index.ts" + "dev": "ts-node-dev --respawn --transpile-only src/index.docker.ts" }, "keywords": [], "author": "", diff --git a/backend/src/routes/search.ts b/backend/src/routes/search.ts index f46570f..94855a9 100644 --- a/backend/src/routes/search.ts +++ b/backend/src/routes/search.ts @@ -59,6 +59,15 @@ async function searchFromApi( const data = await response.json(); + console.log( + "apiUrl", + apiSite.name, + "response status", + response.ok, + "response data", + data.list.length + ); + if ( !data || !data.list ||