Skip to content

Commit

Permalink
优化数据
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 19, 2024
1 parent 866c0f3 commit 7713b9c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/pages/api/zhiban.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ const getMarkdown = () => {
.add(14 * (index + 1), 'day')
.format('YYYY-MM-DD')}`,
)
.slice(0, 3)
.join('\n')}
`,
list: [...mettingUserList]
Expand Down Expand Up @@ -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,
}),
);
Expand Down

0 comments on commit 7713b9c

Please sign in to comment.