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

调试

parent 3f5d973e
......@@ -118,11 +118,12 @@ class LdapController extends Controller
$ou_str='';
if(!empty($data['deptName'])){
$ous = [];
$arr = explode('/',$data['deptName']);
foreach ($arr as $key => $v) {
$ous[] = "ou={$v}";
$ou_str = implode(',',$ous);
}
$ou_str = implode(',',$ous);
$dept_name=$ou_str;
}
foreach ($data['data'] as $key => $users) {
......
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