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
06b2cb84
Commit
06b2cb84
authored
Jul 23, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
545b0496
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
GHouses.php
application/model/GHouses.php
+3
-0
UpdateShopStatusTask.php
application/task/controller/UpdateShopStatusTask.php
+1
-1
No files found.
application/model/GHouses.php
View file @
06b2cb84
...
...
@@ -833,6 +833,9 @@ class GHouses extends BaseModel
if
(
isset
(
$params
[
"update_time"
]))
{
$where_
[
"update_time"
]
=
$params
[
"update_time"
];
}
if
(
isset
(
$params
[
"create_time"
]))
{
$where_
[
"create_time"
]
=
$params
[
"create_time"
];
}
if
(
isset
(
$params
[
"is_exclusive_type"
]))
{
$where_
[
"is_exclusive_type"
]
=
$params
[
"is_exclusive_type"
];
...
...
application/task/controller/UpdateShopStatusTask.php
View file @
06b2cb84
...
...
@@ -52,7 +52,7 @@ class UpdateShopStatusTask
$params
=
[];
$time_
=
date
(
'Y-m-d'
,
strtotime
(
"-
$day
day"
));
$params
[
"status"
]
=
1
;
$params
[
"
upd
ate_time"
]
=
array
(
'lt'
,
$time_
.
" 23:59:59"
);
$params
[
"
cre
ate_time"
]
=
array
(
'lt'
,
$time_
.
" 23:59:59"
);
$params
[
"is_exclusive_type"
]
=
0
;
//所有修改时间大于10天的商铺
...
...
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