Browse Source

checkredis

undefined
娄梦宁 4 years ago
parent
commit
574457a12f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      addons/unishop/controller/User.php

+ 2
- 1
addons/unishop/controller/User.php View File

@@ -275,7 +275,8 @@ class User extends Base
}

public function checkRedis(){
php_info();
phpinfo();
die;
$redis = new Redis();
$a=$redis->handler->set("test_redis",1,86400);
$b=$redis->handler->get("test_redis");


Loading…
Cancel
Save