diff --git a/niucloud/app/api/controller/apiController/Statistics.php b/niucloud/app/api/controller/apiController/Statistics.php index ad4fe7d9..19e6c2e2 100644 --- a/niucloud/app/api/controller/apiController/Statistics.php +++ b/niucloud/app/api/controller/apiController/Statistics.php @@ -30,6 +30,7 @@ class Statistics extends BaseApiService { $personnel_id = $request->param('personnel_id','');//员工表id $role_key_arr = $request->param('role_key_arr','');//array 角色key + //字符转数组 $role_key_arr = explode(',',$role_key_arr); if(empty($personnel_id)|| empty($role_key_arr)){ return fail('缺少参数');