Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
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
chenchuanwen
my-yaf-project
Commits
4d54035f
Commit
4d54035f
authored
Dec 20, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时器问题
parent
c79355a2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
MemberService.php
application/models/Business/User/MemberService.php
+1
-1
Article.php
application/models/DAO/Article/Article.php
+1
-1
No files found.
application/models/Business/User/MemberService.php
View file @
4d54035f
...
...
@@ -1128,7 +1128,7 @@ class MemberServiceModel extends \Business\AbstractModel
public
function
updateMemberAreaInfo
(){
$currentTime
=
TIMESTAMP
;
$startTime
=
$currentTime
-
\Our\ApiConst
::
oneDaySecond
;
if
(
$currentTime
<
154
52352
00
){
if
(
$currentTime
<
154
62720
00
){
$startTime
=
0
;
}
$whereSql
=
\Our\Common
::
format
(
"member_provinceid = '0' and member_cityid = '0' and register_ip !='' and (member_time between '
{
0
}
' and '
{
1
}
') "
,
$startTime
,
$currentTime
);
...
...
application/models/DAO/Article/Article.php
View file @
4d54035f
...
...
@@ -53,7 +53,7 @@ class ArticleModel extends \DAO\AbstractModel{
return
$result
;
}
public
function
delArtcileCache
(
$articleClassId
,
$articleId
){
public
function
delArtcileCache
(
$articleClassId
=
false
,
$articleId
=
false
){
if
(
$articleClassId
){
\Our\RedisHelper
::
cachedFunction
(
\Redis\Db10\ArticleRedisModel
::
getInstance
(),
array
(
&
$this
,
'getList'
),
array
(),
array
(
$articleClassId
));
}
...
...
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