Commit a9f47656 by 18356073052

群发消息添加群发图文消息类型

1 parent 5dae7f82
......@@ -42,7 +42,7 @@ public class CustomerMessagePushDto {
private String settingTime;
/**
* 消息类型 0 文本消息 1 图片消息 2 链接消息 3 小程序消息
* 消息类型 0 文本消息 1 图片消息 2 链接消息 3 小程序消息 4 图文消息
*/
private String messageType;
......
......@@ -361,6 +361,13 @@ public class WeCustomerMessagePushServiceImpl implements IWeCustomerMessagePushS
}
if(customerMessagePushDto.getMessageType().equals("4")){
weCustomerMessagePushDto.setImage(customerMessagePushDto.getImageMessage());
weCustomerMessagePushDto.setLink(null);
weCustomerMessagePushDto.setMiniprogram(null);
weCustomerMessagePushDto.setText(customerMessagePushDto.getTextMessage());
}
}
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!