| | |
| | | import com.qxueyou.scc.msg.service.IMsgInfoService; |
| | | |
| | | /** |
| | | * 消息服务 |
| | | * 消息服务 |
| | | * |
| | | * @author kevin |
| | | * |
| | |
| | | |
| | | |
| | | /** |
| | | * 给指定目标发送消息 |
| | | * 给指定目标发送消息 |
| | | * @param userIdFrom |
| | | * @param targetIdsToArr |
| | | * @param msg |
| | |
| | | */ |
| | | private Result doSendtMsgToTargets(String[] targetIdsToArr,short type,Map<String, String> attrs,Map<String,String> msgInfo){ |
| | | if(targetIdsToArr== null || targetIdsToArr.length==0){ |
| | | return new Result(false,"参数错误"); |
| | | return new Result(false,"参数错误"); |
| | | } |
| | | |
| | | List<MsgInfo> lstMsg = new ArrayList<MsgInfo>(targetIdsToArr.length); |
| | |
| | | |
| | | |
| | | /** |
| | | * 分批发送通知 |
| | | * 分批发送通知 |
| | | * |
| | | * @param userIdList |
| | | * @param msg |