jekins 推送测试
This commit is contained in:
@@ -107,7 +107,7 @@ public class WxSendUtil {
|
||||
HashMap<String, String> articles = new HashMap<>();
|
||||
articles.put("title", title);
|
||||
articles.put("thumb_media_id", "258F4sbTUwwHLRtKDDr4yqH2PzfYPlHPbOLCazHou_3JCgq7Dh1f9PMvrIaIv2oHk");
|
||||
articles.put("content",text.replaceAll("\\\\n", System.getProperty("line.separator")));
|
||||
articles.put("content",text.replaceAll("\n", System.getProperty("line.separator")));
|
||||
articlesList.add(articles);
|
||||
HashMap<Object, Object> mpnews = new HashMap<>();
|
||||
mpnews.put("articles", articlesList);
|
||||
|
||||
Reference in New Issue
Block a user