Commit 605cb18b authored by hujun's avatar hujun

商铺搜索

parent 2c035578
......@@ -241,7 +241,7 @@ class Houses extends Basic
$where['d.landlord_phone'] = [ 'LIKE', '%' . $this->params['landlord_phone'] . '%' ];
}
if (empty($this->params['area'])) {
if (!empty($this->params['area'])) {
switch ($this->params['area']) {
case 1:
$where['a.shop_area_start'] = ['between', [0, 30]];break;
......
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