This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
loumengning
/
shop
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
checkredis
undefined
娄梦宁
4 years ago
parent
084f8a8695
commit
eef1392937
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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");
Write
Preview
Loading…
Cancel
Save