Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ylc.llewan.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
llewan
ylc.llewan.com
Commits
775866e0
Commit
775866e0
authored
Apr 04, 2019
by
734642908@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e
parent
ccdb9748
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
FlushController.class.php
Application/Home/Controller/FlushController.class.php
+13
-3
No files found.
Application/Home/Controller/FlushController.class.php
View file @
775866e0
...
@@ -384,15 +384,25 @@ class FlushController extends BaseController
...
@@ -384,15 +384,25 @@ class FlushController extends BaseController
}
}
public
function
alal
()
{
public
function
alal
()
{
//
$cache = S(C('REDIS'));
$cache
=
S
(
C
(
'REDIS'
));
// $userInfo = $cache->get("huanlenongchangzhu-weixin:upData:159404922:upKey");
// $userInfo = $cache->get("huanlenongchangzhu-weixin:upData:159404922:upKey");
// var_dump(json_decode($userInfo,true));
// var_dump(json_decode($userInfo,true));
// var_dump($userInfo['superTotalNum']);
// var_dump($userInfo['superTotalNum']);
// var_dump($userInfo);
// var_dump($userInfo);
// var_dump(json_decode($userInfo,true));
// 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'"
);
// $re = M("game_login_live","",C("LEWAN_HEZI"))->query("delete FROM `game_login_live` WHERE date='2019-04-02'");
var_dump
(
$re
);
$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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment