Commit 5bfef052 authored by 黎博's avatar 黎博

修改下冒烟测试钉钉通知风险点

parent 06eebeaf
...@@ -258,7 +258,11 @@ public class DingdingUtils { ...@@ -258,7 +258,11 @@ public class DingdingUtils {
} }
} }
if (risk != null) { if (risk != null) {
content += "**风险点:**" + risk; content += "**风险点:**" + "\n\n";
String[] riskList = risk.split("\n");
for (String riskString: riskList) {
content += "**" + riskString + "**" + "\n\n";
}
} }
return buildMarkdownMsg(title, content, true); 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