add 订阅历史
This commit is contained in:
@@ -13,8 +13,8 @@ async function addSub(info){
|
||||
}
|
||||
|
||||
// 获取所有订阅 (不包括已完成)
|
||||
async function getSub(){
|
||||
let sql = `select * from VideoInfo where enable=1`
|
||||
async function getSub(state){
|
||||
let sql = `select * from VideoInfo where enable=${state}`
|
||||
let list = await getAll(sql)
|
||||
return list
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user