|
|
@ -106,7 +106,7 @@ public class MessagePushSchedule { |
|
|
|
* @return java.lang.String |
|
|
|
* @return java.lang.String |
|
|
|
**/ |
|
|
|
**/ |
|
|
|
private String getPushContent(String type,List<MessagePushRecordEntity> list) { |
|
|
|
private String getPushContent(String type,List<MessagePushRecordEntity> list) { |
|
|
|
if(MessageConstants.APP_NAME.equals(type)) { |
|
|
|
if(MessageConstants.APP_PUSH.equals(type)) { |
|
|
|
return list.stream().map(MessagePushRecordEntity::getContent).collect(Collectors.joining("\r\n")); |
|
|
|
return list.stream().map(MessagePushRecordEntity::getContent).collect(Collectors.joining("\r\n")); |
|
|
|
} |
|
|
|
} |
|
|
|
else if(MessageConstants.SMS_PUSH.equals(type)) { |
|
|
|
else if(MessageConstants.SMS_PUSH.equals(type)) { |
|
|
|