luhaowen 5 days ago
parent
commit
921a892c70
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/com/example/FeishuNotifier.groovy

+ 4 - 4
src/com/example/FeishuNotifier.groovy

@@ -35,12 +35,12 @@ class FeishuNotifier implements Serializable {
                     template: color
                 ],
                 elements: [
-                    // 任务名称:高亮标题
+                    // 任务名称:一级标题,醒目
                     [
-                        tag: 'title',
+                        tag: 'div',
                         text: [
-                            tag: 'plain_text',
-                            content: jobName
+                            tag: 'lark_md',
+                            content: "# ${jobName}\n"
                         ]
                     ],
                     // 其余详情