Commit 6d68ef18 authored by hujun's avatar hujun

去重

parent 3dcb550b
...@@ -214,6 +214,7 @@ class GHousesToAgents extends BaseModel ...@@ -214,6 +214,7 @@ class GHousesToAgents extends BaseModel
->order($order_) ->order($order_)
->limit($pageSize) ->limit($pageSize)
->page($pageNo) ->page($pageNo)
->group('a.agents_id')
->select(); ->select();
$result['status'] = 'successful'; $result['status'] = 'successful';
} catch (\Exception $e) { } catch (\Exception $e) {
......
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