修正错误
This commit is contained in:
parent
9a7ce30a6f
commit
165ebe45b7
@ -36,7 +36,7 @@ async function updateSkip(num,id){
|
|||||||
// skip = 总集数 设置完成
|
// skip = 总集数 设置完成
|
||||||
async function updateState(id){
|
async function updateState(id){
|
||||||
let info = getVideoInfoById(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}`
|
let sql = `update VideoInfo set enable=2 where id=${id}`
|
||||||
await run(sql)
|
await run(sql)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user