Commit 72dfc0cd authored by jiangbowen's avatar jiangbowen

test conn

parent 3387e307
......@@ -23,11 +23,18 @@ class LdapController extends Controller
public function handle(Request $request)
{
$data = $request->all();
//新增人员数据格式:
$data = [
'operation_type'=>'emp',
'operation'=>"add",
'data'=>['jiangbowen9090','jiangbowen90912']
];
//编辑人员数据格式:
$data = [
'operation_type'=>'emp',
'operation'=>"edit",
'data'=>['jiangbowen9090'=>'jiangbowen9090et','jiangbowen90912']
];
// var_dump($data);
if ($data['operation_type'] == 'emp') {
if ($data['operation'] == 'add') {
......
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