AbstractSendMessage.java
621 Bytes
package com.yoho.message.sdk.service;
import java.util.Arrays;
import java.util.List;
import com.yoho.message.sdk.common.model.MessageCenterCommonEvent;
/**
*
* <Description> 通用类<br>
*
* @author amos.shan<br>
* @version 1.0<br>
* @taskId <br>
* @CreateDate 2016年12月22日 <br>
*/
public abstract class AbstractSendMessage {
public static final int PAGE_SIZE = 1000;
public MessageCenterCommonEvent genMessageCenterCommonEvent(String sendScene, String sendSceneKey, String uid) {
List<String> uids = Arrays.asList(uid);
return new MessageCenterCommonEvent(sendScene, sendSceneKey, uids);
}
}