修正错误

This commit is contained in:
Theluyuan 2023-08-22 15:03:34 +08:00
parent 9a7ce30a6f
commit 165ebe45b7

View File

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