Commit 775866e0 authored by 734642908@qq.com's avatar 734642908@qq.com

e

parent ccdb9748
......@@ -384,15 +384,25 @@ class FlushController extends BaseController
}
public function alal() {
// $cache = S(C('REDIS'));
$cache = S(C('REDIS'));
// $userInfo = $cache->get("huanlenongchangzhu-weixin:upData:159404922:upKey");
// var_dump(json_decode($userInfo,true));
// var_dump($userInfo['superTotalNum']);
// var_dump($userInfo);
// var_dump(json_decode($userInfo,true));
$re = M("game_login_live","",C("LEWAN_HEZI"))->query("delete FROM `game_login_live` WHERE date='2019-04-02'");
var_dump($re);
// $re = M("game_login_live","",C("LEWAN_HEZI"))->query("delete FROM `game_login_live` WHERE date='2019-04-02'");
$reArr = array();
$setCacheKey = "game_login_live:2019-04-03";
$hashArr = $cache->HGETALL($setCacheKey);
foreach($hashArr as $key=>$val) {
$reArr[$key] = $cache->PFCOUNT('{total}:total_register:'.$key.':2019-04-03');
}
var_dump($reArr);
}
......
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