init
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -54,7 +54,7 @@ class Perm extends CI_Controller { | ... | @@ -54,7 +54,7 @@ class Perm extends CI_Controller { |
| 54 | 54 | ||
| 55 | public function roleEdit($id) | 55 | public function roleEdit($id) |
| 56 | { | 56 | { |
| 57 | $url = $this->CI->config->item('apiBaseUrl') . 'system/role/get/'.$id; | 57 | $url = $this->config->item('apiBaseUrl') . 'system/role/get/'.$id; |
| 58 | $result = file_get_contents($url); | 58 | $result = file_get_contents($url); |
| 59 | $json = json_decode($result); | 59 | $json = json_decode($result); |
| 60 | $ret = $json->data; | 60 | $ret = $json->data; | ... | ... |
-
Please register or sign in to post a comment