diff --git a/util/sql/video.js b/util/sql/video.js index 90e76f2..86e861f 100644 --- a/util/sql/video.js +++ b/util/sql/video.js @@ -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 list = await getAll(sql) return list