Commit 3008619c authored by wwccw0591's avatar wwccw0591

pc

parent ce8657d4
......@@ -117,7 +117,7 @@ $serv->on('Message', function($server, $frame) use($conf){
$messageService->addMessage($sendMessage['fromId'],$sendMessage['fromUserId'],$sendMessage['fromUserName'],$sendMessage['fromType'],$sendMessage['message'],$sendMessage['toId'],$sendMessage['toUserId'],$sendMessage['toUserName'],$sendMessage['toType'],$sendMessage['id']);
$sendMessage['message']=serialize($sendMessage['message']);
$redis->rPush('push_center',serialize($sendMessage));
$redis->tableHDel(KEY_PRE.$rev_data['toId'],'unread_message_count');
$redis->hDel(KEY_PRE.$rev_data['toId'],'unread_message_count');
}
$redis->close();
unset($redis);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment