mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-03-12 15:17:29 +08:00
新增少儿分类&日志
This commit is contained in:
@@ -46,7 +46,7 @@ const initialCategories: Category[] = [
|
|||||||
{ title: "热门剧集", type: "tv", tag: "热门" },
|
{ title: "热门剧集", type: "tv", tag: "热门" },
|
||||||
{ title: "热门电影", type: "movie", tag: "热门" },
|
{ title: "热门电影", type: "movie", tag: "热门" },
|
||||||
{ title: "豆瓣 Top250", type: "movie", tag: "top250" },
|
{ 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: "韩剧" },
|
{ title: "韩剧", type: "tv", tag: "韩剧" },
|
||||||
{ title: "日剧", type: "tv", tag: "日剧" },
|
{ title: "日剧", type: "tv", tag: "日剧" },
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "mytv-backend",
|
"name": "OrionTV-proxy",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Backend service for MyTV application",
|
"description": "Backend service for MyTV application",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node dist/index.js",
|
"start": "node dist/index.js",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"dev": "ts-node-dev --respawn --transpile-only src/index.ts"
|
"dev": "ts-node-dev --respawn --transpile-only src/index.docker.ts"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
@@ -59,6 +59,15 @@ async function searchFromApi(
|
|||||||
|
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
"apiUrl",
|
||||||
|
apiSite.name,
|
||||||
|
"response status",
|
||||||
|
response.ok,
|
||||||
|
"response data",
|
||||||
|
data.list.length
|
||||||
|
);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!data ||
|
!data ||
|
||||||
!data.list ||
|
!data.list ||
|
||||||
|
|||||||
Reference in New Issue
Block a user