From b2c1c51217767ded884021ac07add4465d562001 Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Sun, 3 Sep 2023 21:11:46 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=8E=B7=E5=8F=96=E8=AE=A2=E9=98=85bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/sql/video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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