正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -44,10 +44,12 @@ class CommonController extends RestBaseController | @@ -44,10 +44,12 @@ class CommonController extends RestBaseController | ||
44 | //甲方企业权限模块精确到个人 | 44 | //甲方企业权限模块精确到个人 |
45 | $service = explode(',',trim($this->user['service_id'],',')); | 45 | $service = explode(',',trim($this->user['service_id'],',')); |
46 | foreach($result['service'] as $key=>$s_value){ | 46 | foreach($result['service'] as $key=>$s_value){ |
47 | + if($s_value['id'] != 100){ | ||
47 | if(!in_array($s_value['id'],$service)){ | 48 | if(!in_array($s_value['id'],$service)){ |
48 | unset($result['service'][$key]); | 49 | unset($result['service'][$key]); |
49 | } | 50 | } |
50 | } | 51 | } |
52 | + } | ||
51 | $result['service'] = array_values($result['service']); | 53 | $result['service'] = array_values($result['service']); |
52 | $result['identity'] = config('site.a_staff'); | 54 | $result['identity'] = config('site.a_staff'); |
53 | $result['run_time'] = $this->getRunTime($res['create_time']); | 55 | $result['run_time'] = $this->getRunTime($res['create_time']); |
-
请 注册 或 登录 后发表评论