add 移动多文件

This commit is contained in:
2023-08-07 22:05:55 +08:00
parent 4bc2504a44
commit b675e3033d
5 changed files with 59 additions and 34 deletions

View File

@@ -38,10 +38,10 @@ async function addVideoInfo(cover){
// 获取当前剧集是否下载完成
// todo 多集连发
async function getMediaState(vid){
// let sql = `select * from download where vid=? and state!=1`
// let list = await getAll(sql,vid)
// return !list.length
return true
let sql = `select * from download where vid=? and state!=1`
let list = await getAll(sql,vid)
return !list.length
// return true
}
module.exports = {