From bddefcf066a7c066d563d14d30a7632ce7a4cfc2 Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Thu, 16 Mar 2023 10:22:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=90=9C=E4=B9=A6=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/query.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/query.js b/apps/query.js index 4911a65..63b87bb 100644 --- a/apps/query.js +++ b/apps/query.js @@ -593,13 +593,13 @@ export class query extends plugin { }); await this.reply(await Bot.makeForwardMsg(bookMethods)); // 异步获取直连 - console.log(source); - console.log(source === Buffer.from("ei1saWJyYXJ5", "base64").toString("utf8")); + // console.log(source); + // console.log(source === Buffer.from("ei1saWJyYXJ5", "base64").toString("utf8")); if (source === Buffer.from("ei1saWJyYXJ5", "base64").toString("utf8")) { this.getDirectDownload(title).then(async res => { - const directDownloadUrls = res.map(item => { + const directDownloadUrls = res.map((item, index) => { return { - message: { type: "text", text: item }, + message: { type: "text", text: `下载直链${index}:${item}` }, nickname: this.e.sender.card || this.e.user_id, user_id: this.e.user_id, };