调整飞书机器人消息

pull/1121/head
梁宇奇 2025-11-10 15:45:16 +08:00
parent c67126175d
commit 1cec83a8db
1 changed files with 1 additions and 3 deletions

View File

@ -66,11 +66,9 @@ public class FsNotice extends AbstractNotice {
try {
//内容
FeiShuMsg.ZhCn zhCn = new FeiShuMsg.ZhCn();
List<List<FeiShuMsg.BaseField>> contentFields = new ArrayList<>();
List<List<FeiShuMsg.BaseField>> contentFields = new ArrayList<>(4);
contentFields.add(Collections.singletonList(FeiShuTextField
.createText(CharSequenceUtil.format("环境:{}", env))));
contentFields.add(Collections.singletonList(FeiShuTextField
.createText(CharSequenceUtil.format("主机:{}", IpUtils.getHostIp()))));
contentFields.add(Collections.singletonList(FeiShuTextField
.createText(CharSequenceUtil.format("时间:{}", DateUtil.now()))));
contentFields.add(Collections.singletonList(FeiShuTextField