xxxrrrdddd il y a 2 ans
Parent
commit
e6c452b113
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      application/api/controller/MobileController.php

+ 1 - 1
application/api/controller/MobileController.php

@@ -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')