Commit 7bed29b8 authored by 张育槟's avatar 张育槟

调试1

parent a590225d
...@@ -9,7 +9,7 @@ use Illuminate\Support\Facades\Storage; ...@@ -9,7 +9,7 @@ use Illuminate\Support\Facades\Storage;
class LdapController extends Controller class LdapController extends Controller
{ {
public $host = '172.20.100.201'; public $host = '121.201.57.227';
public $dn = 'ou=Users_hoto,dc=hoto,dc=test'; public $dn = 'ou=Users_hoto,dc=hoto,dc=test';
public $username = 'hoto\hcmadmin'; public $username = 'hoto\hcmadmin';
public $password = 'hcmadmin123'; public $password = 'hcmadmin123';
...@@ -90,6 +90,7 @@ class LdapController extends Controller ...@@ -90,6 +90,7 @@ class LdapController extends Controller
$res= self::recordLog($e); $res= self::recordLog($e);
} }
$res['data']=$data; $res['data']=$data;
Log::info(json_encode($res));
response()->json($res); response()->json($res);
} }
......
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