From 7713b9c643ab8148495cdf2622c7e0a75b27563f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=9F=E8=B4=A4?= Date: Fri, 19 Jan 2024 13:46:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/api/zhiban.api.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/pages/api/zhiban.api.ts b/src/pages/api/zhiban.api.ts index 698754a..18ef9dd 100644 --- a/src/pages/api/zhiban.api.ts +++ b/src/pages/api/zhiban.api.ts @@ -159,6 +159,7 @@ const getMarkdown = () => { .add(14 * (index + 1), 'day') .format('YYYY-MM-DD')}`, ) + .slice(0, 3) .join('\n')} `, list: [...mettingUserList] @@ -212,13 +213,7 @@ ${content.list?.slice(0, 3)}`); return response.send( JSON.stringify({ - message: `hi @${payload.senderNick},${content.text} - - ----------- - - 请注意预定会议室和手机分享资料哦~ - - ${content.list?.slice(0, 3).join('\n')}`, + message: `hi @${payload.senderNick},${content.text}`, success: true, }), );