cfae926a by yangjianbin

init

1 parent ef7b4b9a
...@@ -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;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!