Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e3b6e930
authored
2018-03-25 23:07:47 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
2037a62d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
application/controllers/Perm.php
application/controllers/Perm.php
View file @
e3b6e93
...
...
@@ -124,6 +124,16 @@ class Perm extends CI_Controller {
$item7
[
'name'
]
=
$v7
->
name
;
$item7
[
'pId'
]
=
$vvvvvv
->
id
;
$arr
[]
=
$item7
;
if
(
!
$v7
->
children
||
empty
(
$v7
->
children
))
{
continue
;
}
foreach
(
$v7
->
children
as
$k8
=>
$v8
)
{
$item8
=
array
();
$item8
[
'id'
]
=
$v8
->
id
;
$item8
[
'name'
]
=
$v8
->
name
;
$item8
[
'pId'
]
=
$v7
->
id
;
$arr
[]
=
$item8
;
}
}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment