fix 完成订阅
This commit is contained in:
parent
b41a928040
commit
637e2799f2
@ -35,7 +35,8 @@ async function updateSkip(num,id){
|
||||
|
||||
// skip = 总集数 设置完成
|
||||
async function updateState(id){
|
||||
let info = getVideoInfoById(id)
|
||||
let info = await getVideoInfoById(id)
|
||||
console.log(JSON.stringify(info))
|
||||
if(info.skip > info.count){
|
||||
let sql = `update VideoInfo set enable=2 where id=${id}`
|
||||
await run(sql)
|
||||
|
Loading…
Reference in New Issue
Block a user