|
@@ -530,7 +530,9 @@ public class WeComMessageDataJob {
|
|
JSONObject text = new JSONObject();
|
|
JSONObject text = new JSONObject();
|
|
// String content = messageService.getMessageText();
|
|
// String content = messageService.getMessageText();
|
|
// text.put("content", content);
|
|
// text.put("content", content);
|
|
- text.put("content", "芳华这儿还藏着【养生秘诀】和【老歌金曲】!您想先看哪个?");
|
|
|
|
|
|
+ text.put("content", "现在有空唠唠嗑、解解闷吗?\uD83C\uDF39\n" +
|
|
|
|
+ "刚发现好多有趣视频想分享给您!偷偷告诉我——您平时最爱看【健康养生】、【历史故事】这类知识干货,还是【人生智慧】【怀旧经典】这些暖心内容呀?\n" +
|
|
|
|
+ "(悄悄加个选项\uD83D\uDC49【祝福音乐】\uD83C\uDFB5,马上帮您找!)");
|
|
jsonObject.put("text", text);
|
|
jsonObject.put("text", text);
|
|
jsonObject.put("sender", staff.getCarrierId());
|
|
jsonObject.put("sender", staff.getCarrierId());
|
|
JSONArray attachments = new JSONArray();
|
|
JSONArray attachments = new JSONArray();
|
|
@@ -594,7 +596,7 @@ public class WeComMessageDataJob {
|
|
if (hasImage) {
|
|
if (hasImage) {
|
|
JSONObject imageAttachment = new JSONObject();
|
|
JSONObject imageAttachment = new JSONObject();
|
|
JSONObject image = new JSONObject();
|
|
JSONObject image = new JSONObject();
|
|
- image.put("media_id", "3s8-EPyCrN1WPkfV43sGFRVQlqty7-sMmCW9YgrIBLLtrv5XqbLMls-_mZ5PjIFpctKkokTvyOKpkYma-GVioFw");
|
|
|
|
|
|
+ image.put("media_id", "3dwcynv0rajikHPx8_HQJEnH3WktW83AMS4kZAMlxC2g5Q6GNWb_a78mmMb7QiC5jepTnRn2nhrveUd8pBtYcJQ");
|
|
imageAttachment.put("msgtype", "image");
|
|
imageAttachment.put("msgtype", "image");
|
|
imageAttachment.put("image", image);
|
|
imageAttachment.put("image", image);
|
|
attachments.add(imageAttachment);
|
|
attachments.add(imageAttachment);
|