From fb420d5acfea6668816ddac21f3c67338cafe304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=98=E7=BC=98?= Date: Sun, 8 May 2016 23:32:18 +0800 Subject: [PATCH] =?UTF-8?q?redisd=20get=E6=96=B9=E6=B3=95=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E6=8C=87=E5=AE=9A=E4=B8=BB=E4=BB=8E=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/cache/driver/Redisd.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/think/cache/driver/Redisd.php b/library/think/cache/driver/Redisd.php index 426f594e..5e08dcd2 100644 --- a/library/think/cache/driver/Redisd.php +++ b/library/think/cache/driver/Redisd.php @@ -198,9 +198,9 @@ class Redisd * @param string $name 缓存key * @return mixed */ - public function get($name) + public function get($name, $master = false) { - $this->master(false); + $this->master($master); $value = null; try {