From e478022a9ca28603ef0a6f768f256d51a05ed251 Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 24 May 2025 20:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E7=95=AA=E8=8C=84=E5=B0=8F=E8=AF=B4?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/fanqie.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/fanqie.js b/apps/fanqie.js index 6f358c3..3e87543 100644 --- a/apps/fanqie.js +++ b/apps/fanqie.js @@ -207,13 +207,12 @@ export default class xzq extends plugin { // TODO 修好这发文件的bug try { let res; - logger.info(filePath); + //logger.info(filePath); if (e.isGroup) { res = await e.bot.sendApi('upload_group_file', { group_id: e.group_id, file: filePath, name: path.basename(filePath), - folder: 'fanqie', }); } else if (e.friend) { res = await e.bot.sendApi('upload_private_file', { @@ -222,6 +221,7 @@ export default class xzq extends plugin { name: path.basename(filePath), }); } + logger.info(res); return res; /* //另外一种解决方法