public function test()
 {
     $config = array('type' => 'newform');
     var_dump(C('USER_AUTH_KEY'));
     $auth = new \Think\Auth();
     var_dump($auth);
     $jankzmaker = new \Maker\Controller\JankzMaker();
     $jankzmaker->setMetaTitle('测试页面')->display();
 }
 public function index()
 {
     $page = $_GET['page'];
     $config = array('type' => 'newtable');
     $table = array('group_id' => '用户组ID', 'uid' => '用户ID');
     $count = M('AuthGroupAccess')->count();
     $page_list = ceil($count / 10);
     $info = M('AuthRule')->where(array('status' => 1))->page($page, 10)->select();
     $make_table = makeTable($table);
     $jankzmaker = new \Maker\Controller\JankzMaker();
     $jankzmaker->setMetaTitle('用户组明细')->addConfTpl($config)->setThead($make_table['thead'])->setTbodyList($make_table['list'])->setTbodyData($info)->addTopBtn('default')->setPage($page_list)->display();
 }