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
9d1036d6
authored
2018-03-29 14:01:40 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
aef56b4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
application/controllers/Perm.php
application/controllers/Perm.php
View file @
9d1036d
...
...
@@ -164,6 +164,7 @@ class Perm extends CI_Controller {
$arr
=
array
();
foreach
(
$data
as
$k
=>
$v
)
{
var_dump
(
$v
);
exit
;
$item
=
array
();
$item
[
'id'
]
=
$v
->
id
;
$item
[
'name'
]
=
$v
->
name
;
...
...
@@ -172,7 +173,7 @@ class Perm extends CI_Controller {
if
(
!
$v
->
children
||
empty
(
$v
->
children
))
{
continue
;
}
var_dump
(
$item
);
exit
;
$arr
[]
=
$item
;
// foreach ($v->children as $kk => $vv) {
// $item2 = array();
...
...
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