1 $access=M(‘access‘)->where(array(‘role_id‘=>$rid))->select();
2 dump($access);
3 die;
1 $access=M(‘access‘)->where(array(‘role_id‘=>$rid))->getField(‘node_id‘,true);
2 dump($access);
3 die;
1 $access=M(‘access‘)->where(array(‘role_id‘=>$rid))->getField(‘node_id‘);
2 dump($access);
3 die;