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) }