|
@@ -138,12 +138,6 @@ class User extends Controller
|
|
|
} else {
|
|
|
$data['authorize'] = str2arr($data['authorize'] ?? '');
|
|
|
$query = $this->app->db->name('SystemAuth')->where(['status' => 1,'other'=>0]);
|
|
|
- if($data['county_id']){
|
|
|
- $query->where('id',1);
|
|
|
- }
|
|
|
- if($data['school_id']){
|
|
|
- $query->where('id',3);
|
|
|
- }
|
|
|
$this->authorizes = $query->order('sort desc,id desc')->select()->toArray();
|
|
|
}
|
|
|
}
|