Commit cb8be846 authored by 张育槟's avatar 张育槟

优化部门员工

parent 8454a91b
...@@ -126,7 +126,7 @@ class LdapController extends Controller ...@@ -126,7 +126,7 @@ class LdapController extends Controller
} }
$dept_name = implode(',',$ous); $dept_name = implode(',',$ous);
} }
$dept_name='ou='.$data['deptName'].','.$dept_name; $dept_name=$data['deptName'].','.$dept_name;
} }
foreach ($data['data'] as $key => $users) { foreach ($data['data'] as $key => $users) {
$value=$users['fullName']?$users['fullName']:'';; $value=$users['fullName']?$users['fullName']:'';;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment