Commit c78480fb authored by hujun's avatar hujun

客方列表总数

parent 56f0d3cd
......@@ -166,7 +166,7 @@ class Users extends Model
->join('a_agents b', 'a.referrer_id = b.id', 'left')
->where($params)
->where('a.referrer_source', 20)
->select();
->count();
} else {
$result = $this->alias('a')
->where($params)
......
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