This commit is contained in:
theluyuan 2023-07-01 23:08:30 +08:00
parent 0781193f3d
commit 0f9b8e844e
6 changed files with 23 additions and 16 deletions

BIN
bin/ffmpeg.exe Normal file

Binary file not shown.

View File

@ -8,19 +8,19 @@ const dayjs = require("dayjs")
const router = new Router() const router = new Router()
// const dowloadlist = [] // const dowloadlist = []
router.get("/test", async (ctx) => { // router.get("/test", async (ctx) => {
let url = ctx.query.url // let url = ctx.query.url
await utils.createTorrent(url,'C:\\Users\\SummerTail\\Downloads\\Video\\斗破苍穹.年番.Fights.Break.Sphere.S05E06.2022.2160p.WEB-DL.H265.AAC-ADWeb.torrent').then(value => { // await utils.createTorrent(url,'C:\\Users\\SummerTail\\Downloads\\Video\\斗破苍穹.年番.Fights.Break.Sphere.S05E06.2022.2160p.WEB-DL.H265.AAC-ADWeb.torrent').then(value => {
ctx.body = { // ctx.body = {
code: 0, // code: 0,
msg: "Test", // msg: "Test",
data: value // data: value
} // }
}) // })
}) // })
router.get("/getQqList", async (ctx) => { router.get("/getQqList", async (ctx) => {
let url = ctx.query.url let url = ctx.query.url
@ -49,6 +49,13 @@ router.get("/startDown", async (ctx) => {
msg: "添加成功" msg: "添加成功"
} }
}) })
router.get("/test",async (ctx)=>{
utils.getVideoSpecifyTimeImage("D:/aaa/梦中的那片海/梦中的那片海 第01集.mp4",46,"D:/aaa/梦中的那片海/aaa.jpg")
})
// 连接池 // 连接池
const clientList = []; const clientList = [];
// koa-sse-stream 配置 // koa-sse-stream 配置

File diff suppressed because one or more lines are too long

3
view/dist/assets/index-c64b89b9.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="./vite.svg" /> <link rel="icon" type="image/svg+xml" href="./vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title> <title>Vite + Vue</title>
<script type="module" crossorigin src="./assets/index-ea8b965c.js"></script> <script type="module" crossorigin src="./assets/index-1b16ee59.js"></script>
<link rel="stylesheet" href="./assets/index-e0450ab1.css"> <link rel="stylesheet" href="./assets/index-6ef103ac.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>