Browse Source

checkredis

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

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

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

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


Loading…
Cancel
Save