admin/app/common/model/plus/release/Chat.php
@@ -25,6 +25,12 @@ //添加信息 public function add($postdata,$user) { // 验证:不能给自己发消息 if (!isset($postdata['you_user_id']) || $postdata['you_user_id'] == $user['user_id']) { $this->error = '不能给自己发消息'; return false; } // 开启事务 $this->startTrans(); try {