예제 #1
0
 /**
  * �����ʷ�����¼
  */
 function addHistory($uid, $msg)
 {
     $info = $this->getUser($uid);
     $log['user'] = $info;
     $log['msg'] = $msg;
     $log['time'] = time();
     $this->redis->lPush("im_room_chat", json_encode($log));
 }