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