|
@@ -131,7 +131,7 @@ class MobileController extends UserApi
|
|
|
}
|
|
|
}else{
|
|
|
if($data['type']==1) {
|
|
|
- if($chanId){
|
|
|
+ if($chanId && getSub()->hasSortPower()){
|
|
|
$model->join('mobile_sub',"mobile.id=mobile_sub.mobile_id and mobile_sub.sub_admin_id={$chanId}",'LEFT')
|
|
|
->order('activity_time', 'desc')
|
|
|
->orderRaw('FIELD(top_time,1) DESC,FIELD(rec_time,1) DESC')
|