Commit e6a66793 authored by 黎博's avatar 黎博

update

parent 88e52a24
......@@ -128,7 +128,7 @@ public class DingdingUtils {
content = content + "- 经办人:" + issue.getAssignee().getDisplayName() + "\n\n";
}
if (risk != null && !risk.isEmpty()) {
content += "**风险:**\n\n";
content += "**风险:**\n\n";
List<String> riskList = Arrays.asList(risk.split("\n"));
for (String str: riskList) {
content += "**" + str + "**\n\n";
......@@ -215,7 +215,7 @@ public class DingdingUtils {
content = content + "- 经办人:" + issue.getAssignee().getDisplayName() + "\n\n";
}
if (risk != null) {
content += "风险:" + risk;
content += "风险:" + risk;
}
return buildMarkdownMsg(title, content, true);
}
......
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