From 165ebe45b78072df0f53e30388946577276bc182 Mon Sep 17 00:00:00 2001 From: Theluyuan <1162963624@qq.com> Date: Tue, 22 Aug 2023 15:03:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=94=99=E8=AF=AF?= 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 7d00279..f2f34a5 100644 --- a/util/sql/video.js +++ b/util/sql/video.js @@ -36,7 +36,7 @@ async function updateSkip(num,id){ // skip = 总集数 设置完成 async function updateState(id){ let info = getVideoInfoById(id) - if(info.skip == info.count){ + if(info.skip > info.count){ let sql = `update VideoInfo set enable=2 where id=${id}` await run(sql) }