Commit 237a17e5 authored by 黎博's avatar 黎博

fix

parent 9dbfcaf8
......@@ -23,8 +23,9 @@ public class DingdingUtils {
Map<String, String> content = new HashMap<>();
markdown.put("msgtype", "markdown");
String title = creator + "提交了BUG:" + key;
String issueUrl = "http://jira2.quantgroup.cn/browse/" + key;
content.put("title", title);
content.put("text", "##" + title + "\n" + "### 概要:" + summary + "(http://jira2.quantgroup.cn/browse/" + key + ")"+ "\n" + "- 优先级:" + priority + "\n" + "- 经办人:" + assignee);
content.put("text", "## " + title + "\n" + "### 概要:[" + summary + "](" + issueUrl + ")"+ "\n" + "- 优先级:" + priority + "\n" + "- 经办人:" + assignee);
markdown.put("markdown", content);
return JSON.toJSONString(markdown);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment