phpredis每隔30秒统计
$redis = /RedisClient1::getInstance(); $redis->incr('quanjusuo'); $redis->expire('quanjusuo',30); print_r($redis->get('quanjusuo')); exit();
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/19002.html
phpredis每隔30秒统计
$redis = /RedisClient1::getInstance(); $redis->incr('quanjusuo'); $redis->expire('quanjusuo',30); print_r($redis->get('quanjusuo')); exit();
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/19002.html