...
|
...
|
@@ -44,8 +44,10 @@ class CommonController extends RestBaseController |
|
|
//甲方企业权限模块精确到个人
|
|
|
$service = explode(',',trim($this->user['service_id'],','));
|
|
|
foreach($result['service'] as $key=>$s_value){
|
|
|
if(!in_array($s_value['id'],$service)){
|
|
|
unset($result['service'][$key]);
|
|
|
if($s_value['id'] != 100){
|
|
|
if(!in_array($s_value['id'],$service)){
|
|
|
unset($result['service'][$key]);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
$result['service'] = array_values($result['service']);
|
...
|
...
|
|