From c254f11c662f780be335808d62752d37de919ddc Mon Sep 17 00:00:00 2001 From: wangwei01 Date: Thu, 30 May 2019 20:53:04 +0800 Subject: [PATCH] 1 --- webapp/controller/RankController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/RankController.class.php b/webapp/controller/RankController.class.php index b3dcaca..a6b73cc 100644 --- a/webapp/controller/RankController.class.php +++ b/webapp/controller/RankController.class.php @@ -17,7 +17,8 @@ class RankController{ protected function getRedis() { - $redis_conf = getRedisConfig(); + $key = 'game2001api'; + $redis_conf = getRedisConfig($key); $r = new phpcommon\Redis(array( 'host' => $redis_conf['host'], 'port' => $redis_conf['port'],