Req-3117 添加测试类
This commit is contained in:
parent
6dbd01e3eb
commit
4864ac9f65
@ -452,7 +452,13 @@ public class DingDingTest {
|
||||
|
||||
JSONObject actionCard = new JSONObject();
|
||||
actionCard.put("title","标题");
|
||||
actionCard.put("text","内容");
|
||||
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
stringBuilder.append("## ").append("标题");
|
||||
stringBuilder.append(" \n ");
|
||||
stringBuilder.append("123241rfewqf");
|
||||
|
||||
actionCard.put("text",stringBuilder.toString());
|
||||
actionCard.put("buttonTitle1","百度");
|
||||
actionCard.put("buttonUrl1","http://www.baidu.com");
|
||||
actionCard.put("buttonTitle2","MQ");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user