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
5de8c014
Commit
5de8c014
authored
Feb 25, 2019
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
# Conflicts: # application/index/controller/LookShop.php
parents
35c24d56
3c56fcfd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
LookShop.php
application/index/controller/LookShop.php
+2
-2
No files found.
application/index/controller/LookShop.php
View file @
5de8c014
...
@@ -43,7 +43,7 @@ class LookShop extends Basic
...
@@ -43,7 +43,7 @@ class LookShop extends Basic
$condition
=
[];
$condition
=
[];
if
(
!
empty
(
$params
[
"start_time"
])
&&
!
empty
(
$params
[
"end_time"
]))
{
if
(
!
empty
(
$params
[
"start_time"
])
&&
!
empty
(
$params
[
"end_time"
]))
{
$condition
[
"a.look_time"
]
=
array
(
"between"
,
array
(
$params
[
"start_time"
],
$params
[
"end_time"
]
.
" 23:59:59"
)
);
$condition
[
"a.look_time"
]
=
array
(
"between"
,
array
(
$params
[
"start_time"
],
$params
[
"end_time"
]
)
);
}
}
if
(
!
empty
(
$params
[
"house_id"
]))
{
if
(
!
empty
(
$params
[
"house_id"
]))
{
$condition
[
"a.house_id"
]
=
$params
[
"house_id"
];
$condition
[
"a.house_id"
]
=
$params
[
"house_id"
];
...
@@ -67,7 +67,7 @@ class LookShop extends Basic
...
@@ -67,7 +67,7 @@ class LookShop extends Basic
//$total = $this->tLookShopModel->getListCount($condition, $field);
//$total = $this->tLookShopModel->getListCount($condition, $field);
$list
[
"list"
]
=
$result
;
$list
[
"list"
]
=
$result
;
$list
[
"total"
]
=
0
;
$list
[
"total"
]
=
15
0
;
return
$this
->
response
(
"200"
,
"success"
,
$list
);
return
$this
->
response
(
"200"
,
"success"
,
$list
);
}
}
...
...
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