|
@@ -275,6 +275,7 @@ class User extends Base |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function checkRedis(){ |
|
|
public function checkRedis(){ |
|
|
|
|
|
php_info(); |
|
|
$redis = new Redis(); |
|
|
$redis = new Redis(); |
|
|
$a=$redis->handler->set("test_redis",1,86400); |
|
|
$a=$redis->handler->set("test_redis",1,86400); |
|
|
$b=$redis->handler->get("test_redis"); |
|
|
$b=$redis->handler->get("test_redis"); |
|
|