示例#1
0
文件: Rediss.php 项目: fifths/lit
 public static function init()
 {
     self::$redis = new Client(require BASE_PATH . self::CONFIG_FILE);
 }
示例#2
0
 public function test()
 {
     Rediss::set('key', 'value', 10, 's');
     echo Rediss::get('key');
 }