Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
f00520b0
Commit
f00520b0
authored
Dec 20, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
ab8a0013
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
RankingListService.php
application/index/service/RankingListService.php
+5
-3
No files found.
application/index/service/RankingListService.php
View file @
f00520b0
...
@@ -180,14 +180,16 @@ class RankingListService
...
@@ -180,14 +180,16 @@ class RankingListService
$begin_time
=
date
(
'Y-m-01'
,
time
());
$begin_time
=
date
(
'Y-m-01'
,
time
());
$end_time
=
date
(
"Y-m-01"
,
strtotime
(
'+1 month'
));
$end_time
=
date
(
"Y-m-01"
,
strtotime
(
'+1 month'
));
}
}
/**
* {"total_date_start":"2018-12-01","total_date_end":"2018-12-12",
* "sort_date_start":"2018-11-01","sort_date_end":"2018-11-30"}
*/
$m_config
=
new
SystemConfig
();
$m_config
=
new
SystemConfig
();
$rule
=
$m_config
->
getSettingV2
([
'params'
=>
'week_competition_'
.
$site_id
],
'rule'
);
$rule
=
$m_config
->
getSettingV2
([
'params'
=>
'week_competition_'
.
$site_id
],
'rule'
);
if
(
empty
(
$rule
))
{
if
(
empty
(
$rule
))
{
return
null
;
return
null
;
}
}
$rule_arr
=
json_decode
(
$rule
[
0
][
"rule"
],
true
);
$rule_arr
=
json_decode
(
$rule
,
true
);
//周pk
//周pk
if
(
$pk_type
==
2
&&
$type
==
1
)
{
if
(
$pk_type
==
2
&&
$type
==
1
)
{
$begin_time
=
$rule_arr
[
'total_date_start'
];
$begin_time
=
$rule_arr
[
'total_date_start'
];
...
...
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