8802a88a by yangjianbin

init

1 parent 64d30956
...@@ -284,7 +284,7 @@ class Perm extends CI_Controller { ...@@ -284,7 +284,7 @@ class Perm extends CI_Controller {
284 // $data = json_decode($data, true); 284 // $data = json_decode($data, true);
285 285
286 $arr2 = array(); 286 $arr2 = array();
287 var_dump($role);exit; 287
288 foreach ($role as $k => $v) { 288 foreach ($role as $k => $v) {
289 $r = array(); 289 $r = array();
290 $r['id'] = $v->id; 290 $r['id'] = $v->id;
...@@ -303,6 +303,7 @@ class Perm extends CI_Controller { ...@@ -303,6 +303,7 @@ class Perm extends CI_Controller {
303 } 303 }
304 304
305 } 305 }
306 var_dump($arr2);exit;
306 307
307 foreach ($arr as $k => $v) { 308 foreach ($arr as $k => $v) {
308 foreach ($arr2 as $k2 => $v2) { 309 foreach ($arr2 as $k2 => $v2) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!