Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncAD
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
江博文
syncAD
Commits
e59991b0
Commit
e59991b0
authored
Jan 27, 2022
by
jiangbowen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test conn
parent
45c29aa8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
LdapController.php
app/Http/Controllers/LdapController.php
+6
-6
No files found.
app/Http/Controllers/LdapController.php
View file @
e59991b0
...
@@ -45,14 +45,14 @@ class LdapController extends Controller
...
@@ -45,14 +45,14 @@ class LdapController extends Controller
$data
=
[
$data
=
[
'operation_type'
=>
'dept'
,
'operation_type'
=>
'dept'
,
'operation'
=>
'add'
,
'operation'
=>
'add'
,
'data'
=>
[
'产品技术中心/测试部'
]
'data'
=>
[
'产品技术中心
2
/测试部'
]
];
];
//编辑部门数据格式
//编辑部门数据格式
$data
=
[
//
$data = [
'operation_type'
=>
'dept'
,
//
'operation_type'=>'dept',
'operation'
=>
'edit'
,
//
'operation'=>'edit',
'data'
=>
[
'产品技术中心/测试部'
=>
'产品技术中心/测试部3'
]
//
'data'=>['产品技术中心/测试部'=>'产品技术中心/测试部3']
];
//
];
// var_dump($data);
// var_dump($data);
if
(
$data
[
'operation_type'
]
==
'emp'
)
{
if
(
$data
[
'operation_type'
]
==
'emp'
)
{
if
(
$data
[
'operation'
]
==
'add'
)
{
if
(
$data
[
'operation'
]
==
'add'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment