tmp
This commit is contained in:
@@ -8,19 +8,19 @@ const dayjs = require("dayjs")
|
||||
const router = new Router()
|
||||
// const dowloadlist = []
|
||||
|
||||
router.get("/test", async (ctx) => {
|
||||
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 => {
|
||||
ctx.body = {
|
||||
code: 0,
|
||||
msg: "Test",
|
||||
data: value
|
||||
}
|
||||
})
|
||||
// router.get("/test", async (ctx) => {
|
||||
// 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 => {
|
||||
// ctx.body = {
|
||||
// code: 0,
|
||||
// msg: "Test",
|
||||
// data: value
|
||||
// }
|
||||
// })
|
||||
|
||||
|
||||
|
||||
})
|
||||
// })
|
||||
|
||||
router.get("/getQqList", async (ctx) => {
|
||||
let url = ctx.query.url
|
||||
@@ -49,6 +49,13 @@ router.get("/startDown", async (ctx) => {
|
||||
msg: "添加成功"
|
||||
}
|
||||
})
|
||||
|
||||
router.get("/test",async (ctx)=>{
|
||||
utils.getVideoSpecifyTimeImage("D:/aaa/梦中的那片海/梦中的那片海 第01集.mp4",46,"D:/aaa/梦中的那片海/aaa.jpg")
|
||||
})
|
||||
|
||||
|
||||
|
||||
// 连接池
|
||||
const clientList = [];
|
||||
// koa-sse-stream 配置
|
||||
|
||||
Reference in New Issue
Block a user