|
@@ -103,7 +103,7 @@ class Index extends Api
|
|
|
->where($where)
|
|
|
->where($where_black)
|
|
|
->having($having_dis)
|
|
|
- ->order('user.is_active desc,distance asc')
|
|
|
+ ->order('user.is_active desc,distance asc,user.id desc')
|
|
|
->autopage()
|
|
|
->select();
|
|
|
$list = list_domain_image($list,['avatar','photo_images']);
|