Commit e3df8070 authored by 顾文旭's avatar 顾文旭

修改session用redis

parent 82fc4f6f
......@@ -12,7 +12,7 @@ use Api\PhpUtils\Log\FileLog;
class CacheUtil
{
const PREFIX_NONE = '';
const PREFIX_BLANK_PREFIX = '';
const EXPIRE_NEVER = 0;
const EXPIRE_AFTER_FIVE_SECONDS = 5;
const EXPIRE_AFTER_ONE_MINUTE = 60;
......
......@@ -51,6 +51,11 @@ class RedisUtil
private $prefix = '';
private $select = 0;
private $config = [];
public function getConnectStatus()
{
return $this->connectStatus;
}
public function getConnectServer()
{
......
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