Commit 2e813f93 authored by clone's avatar clone

注释

parent 604e0106
...@@ -58,6 +58,8 @@ class Shop extends Basic ...@@ -58,6 +58,8 @@ class Shop extends Basic
"rent_price_end" => 10000,//租金 "rent_price_end" => 10000,//租金
"shop_sign" => "临近地铁,临近地铁2", "shop_sign" => "临近地铁,临近地铁2",
"agent_id" => 630, //添加经纪人id "agent_id" => 630, //添加经纪人id
"start_time" => "2018-05-25",
"end_time" => "2018-05-30",
"pageNo" => 1, "pageNo" => 1,
"pageSize" => 15 "pageSize" => 15
);*/ );*/
...@@ -91,6 +93,11 @@ class Shop extends Basic ...@@ -91,6 +93,11 @@ class Shop extends Basic
if (isset($params['house_id'])) { if (isset($params['house_id'])) {
$conditions['id'] = array( "eq", $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_ = ""; $order_ = "";
$spTagArr = array(); $spTagArr = array();
switch ($params['site_area']) { switch ($params['site_area']) {
......
...@@ -420,7 +420,7 @@ class Users extends Model ...@@ -420,7 +420,7 @@ class Users extends Model
->page($pageNo) ->page($pageNo)
->limit($pageSize) ->limit($pageSize)
->select(); ->select();
echo $this->getLastSql(); // echo $this->getLastSql();
return $result; return $result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment