Commit b3772e5d authored by jiangbowen's avatar jiangbowen

test

parent 8c0fef20
...@@ -299,7 +299,7 @@ class LdapController extends Controller ...@@ -299,7 +299,7 @@ class LdapController extends Controller
public function getData() public function getData()
{ {
$result=$this->provider->search()->ous()->get(); $result=$this->provider->search()->ous()->get();
$result = json_decode(json_encode($result,true)); $result = json_decode(json_encode($result),true);
foreach ($result as $value) { foreach ($result as $value) {
$new_distinguishedname_arr = []; $new_distinguishedname_arr = [];
$distinguishedname = $value['distinguishedname'][0]; $distinguishedname = $value['distinguishedname'][0];
......
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