|
@@ -29,6 +29,7 @@ import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
import static com.tzld.piaoquan.common.common.constant.MessageConstant.MAX_VIDEO_NUM;
|
|
|
+import static com.tzld.piaoquan.common.common.constant.MessageConstant.appid;
|
|
|
import static com.tzld.piaoquan.common.common.constant.TimeConstant.MILLISECOND_DAY;
|
|
|
|
|
|
@Log4j2
|
|
@@ -493,7 +494,7 @@ public class WeComMessageDataJob {
|
|
|
}
|
|
|
MessageAttachment messageAttachment = messageAttachmentList.get(0);
|
|
|
JSONObject miniprogram = new JSONObject();
|
|
|
- miniprogram.put("appid", messageAttachment.getAppid());
|
|
|
+ miniprogram.put("appid", appid);
|
|
|
String title = messageAttachment.getTitle();
|
|
|
if (title.getBytes(StandardCharsets.UTF_8).length > MAX_BYTES) {
|
|
|
title = ToolUtils.truncateString(title, MAX_BYTES - 3) + "...";
|