Commit 9c9fa37b authored by zhuwei's avatar zhuwei

1

parent c00b9cb5
......@@ -177,11 +177,7 @@ class LookShop extends Basic
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
$s_look_Shop = new LookShopService();
$result = $s_look_Shop->getShopUserVisitLog($params,$pageNo, $pageSize);
if($result){
return $this->response("200", "success", $result);
}else{
return $this->response("101", "暂无数据", []);
}
return $this->response("200", "success", $result);
}
/**
......
......@@ -252,7 +252,7 @@ class LookShopService
$conditions_['a.house_id'] = $conditions['house_id'];
$list = $m_look_shop->getLookShopList($conditions_, $field, $pageNo, $pageSize);
if (!$list) {
return false;
return [];
}
$u_user = new Users();
foreach ($list as $k => $v) {
......
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