1
This commit is contained in:
@@ -681,12 +681,17 @@ public class JDUtil {
|
||||
for (String s : messages) {
|
||||
wxUtil.sendTextMessage(fromWxid, s, 1, fromWxid);
|
||||
}
|
||||
if (messagesAll.get("images") != null){
|
||||
for (String s : messagesAll.get("images")) {
|
||||
if (s!=null){
|
||||
wxUtil.sendImageMessage(fromWxid, s);
|
||||
try {
|
||||
List<String> images = messagesAll.get("images");
|
||||
if (images != null){
|
||||
for (String s : images) {
|
||||
if (s!=null){
|
||||
wxUtil.sendImageMessage(fromWxid, s);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.error("Error generating promotion content: {}", e.getMessage());
|
||||
}
|
||||
cacheMap.put("text"+fromWxid,messagesAll.get("data").get(0));
|
||||
// 询问是否需要继续转链
|
||||
|
||||
Reference in New Issue
Block a user