diff --git a/controllers/main.js b/controllers/main.js index 34a6f05..49dbe5d 100644 --- a/controllers/main.js +++ b/controllers/main.js @@ -31,7 +31,7 @@ let findlist = async (ctx, next) => { await Promise.allSettled(pro).then((res) => { for (let i in res) { - if(i.status == "fulfilled"){ + if(res[i].status == "fulfilled"){ console.log(res[i].value.list) for (let j in res[i].value.list) { let has = true