# opensns的消息发送机制。
### 1.sendMessage
(不会对自己发送消息)
`D('Common/Message')->sendMessage(C('USER_ADMINISTRATOR'), "{$user['nickname']}发布了一个活动,请到后台审核。", $title = '活动发布提醒', U('Admin/Event/verify'), is_login(), 2);`
### 2.sendMessageWithoutCheckSelf
(忽略检查自己)
` D('Common/Message')->sendMessageWithoutCheckSelf($user['uid'], $title = '作业提交成功',$user['nickname']."恭喜您成功上传了一次作业。", 'Zuopin/index/contentdetail', array('id'=>$rs),is_login(), 2);`