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
2e813f93
Commit
2e813f93
authored
May 31, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释
parent
604e0106
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Shop.php
application/api_broker/controller/Shop.php
+7
-0
Users.php
application/model/Users.php
+1
-1
No files found.
application/api_broker/controller/Shop.php
View file @
2e813f93
...
...
@@ -58,6 +58,8 @@ class Shop extends Basic
"rent_price_end" => 10000,//租金
"shop_sign" => "临近地铁,临近地铁2",
"agent_id" => 630, //添加经纪人id
"start_time" => "2018-05-25",
"end_time" => "2018-05-30",
"pageNo" => 1,
"pageSize" => 15
);*/
...
...
@@ -91,6 +93,11 @@ class Shop extends Basic
if
(
isset
(
$params
[
'house_id'
]))
{
$conditions
[
'id'
]
=
array
(
"eq"
,
$params
[
'house_id'
]
);
}
if
(
isset
(
$params
[
'start_time'
])
&&
isset
(
$params
[
'end_time'
]))
{
$conditions
[
'create_time'
]
=
array
(
'between'
,
array
(
$params
[
'start_time'
],
$params
[
'end_time'
]
)
);
}
$order_
=
""
;
$spTagArr
=
array
();
switch
(
$params
[
'site_area'
])
{
...
...
application/model/Users.php
View file @
2e813f93
...
...
@@ -420,7 +420,7 @@ class Users extends Model
->
page
(
$pageNo
)
->
limit
(
$pageSize
)
->
select
();
echo
$this
->
getLastSql
();
//
echo $this->getLastSql();
return
$result
;
}
...
...
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