Commit deedadf3 authored by 734642908@qq.com's avatar 734642908@qq.com

e

parent 540c9247
......@@ -385,11 +385,9 @@ class FlushController extends BaseController
public function alal() {
$cache = S(C('REDIS'));
$cache->PFADD('{total}:total_login',array(mt_rand(1,10)));
$cache->PFADD('{total}:total_register',array(mt_rand(1,10)));
$union = $cache->PFCOUNT(['{total}:total_login','{total}:total_register']);
var_dump($union);
$userInfo = $cache->get("huanlenongchangzhu-weixin:upData:159404922:upKey");
var_dump($userInfo['superTotalNum']);
var_dump($userInfo);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment