From 8d819aae6889f94f72d4a407fd502b5632fddb9e Mon Sep 17 00:00:00 2001 From: pplok <1162963624@qq.com> Date: Fri, 17 Jan 2020 15:38:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/main.js b/controllers/main.js index ec0eb54..34a6f05 100644 --- a/controllers/main.js +++ b/controllers/main.js @@ -29,9 +29,10 @@ let findlist = async (ctx, next) => { } await Promise.allSettled(pro).then((res) => { - console.log(res) + for (let i in res) { if(i.status == "fulfilled"){ + console.log(res[i].value.list) for (let j in res[i].value.list) { let has = true for (let k in list) {