From 4d55b4cc9a9dc997ec1eef23fb0fa5b17f8cf77f Mon Sep 17 00:00:00 2001 From: wangwei01 Date: Fri, 26 Jul 2019 13:05:57 +0800 Subject: [PATCH] 1 --- webapp/controller/MatchController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/controller/MatchController.class.php b/webapp/controller/MatchController.class.php index e492834..22077c7 100644 --- a/webapp/controller/MatchController.class.php +++ b/webapp/controller/MatchController.class.php @@ -51,13 +51,13 @@ class MatchController{ $r = array(); if ($room_uuid == null) { $r = $this->getRedis($node_id); - $current_db_str = $r->get('game2001:match:current_room'); + $current_db_str = $r->get('game2002:match:current_room'); if (empty($current_db_str)) { $room_uuid = $node_id . '_' . md5($_REQUEST['account_id']) . time(); $current_db = array( 'room_uuid' => $room_uuid, ); - $r -> set('game2001:match:current_room', json_encode($current_db)); + $r -> set('game2002:match:current_room', json_encode($current_db)); } else { $current_db = json_decode($current_db_str, true); $room_uuid = $current_db['room_uuid'];