Commit 9ff09b67 authored by clone's avatar clone

bug

parent 594f793e
...@@ -65,18 +65,18 @@ class AttentionShop extends Basic ...@@ -65,18 +65,18 @@ class AttentionShop extends Basic
public function attentionList() public function attentionList()
{ {
$params = $this->params; $params = $this->params;
$params = array( /* $params = array(
"user_id" => 122, "user_id" => 122,
"pageNo" => 1, "pageNo" => 1,
"pageSize" => 15, "pageSize" => 15,
); );*/
$pageNo = empty($params['pageNo']) ? 1 : $params['pageNo']; $pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize']; $pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
$order_ = 'a.create_time desc'; $order_ = 'a.create_time desc';
//b.room_num_left 前端显示已下架,不可点击到详情 //b.room_num_left 前端显示已下架,不可点击到详情
$field = "a.id,a.house_id,b.external_title,b.shop_area_start as room_area,b.shop_area_end as room_area2,b.rent_price as price, $field = "a.id,a.house_id,b.external_title as title,b.shop_area_start as room_area,b.shop_area_end as room_area2,b.rent_price as price,
b.shop_sign as shangpu_tags,b.shop_type as shangpu_type,b.residue_num as room_num_left,b.rent_type"; b.shop_sign as shangpu_tags,b.shop_type as shangpu_type,b.residue_num as room_num_left,b.rent_type";
if (!isset($params["user_id"])) { if (!isset($params["user_id"])) {
......
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