lizhen 5 days ago
parent
commit
ddf719ede0

+ 1 - 5
application/admin/controller/exam/Paper.php

@@ -32,11 +32,7 @@ class Paper extends Backend
         $this->view->assign("kindList", $this->model->getKindList());
         $this->view->assign("statusList", $this->model->getStatusList());
 
-        //岗位
-        $tree = Tree::instance();
-        $tree->init(Usergangwei::getCategoryArray(), 'pid');
-        $gangweilist = $tree->getTreeList($tree->getTreeArray(0), 'name');
-        $this->view->assign("gangweilist", $gangweilist);
+
     }
 
 

+ 1 - 1
application/api/controller/Index.php

@@ -48,7 +48,7 @@ class Index extends Api
             'index_logo' => localpath_to_netpath(config('site.index_logo')),
             'index_title' => config('site.index_title'),
             'index_title_info' => config('site.index_title_info'),
-            'ysszd_logo' => localpath_to_netpath(config('site.yssd_logo')),
+            'ysszd_logo' => localpath_to_netpath(config('site.ysszd_logo')),
             'ysszd_title' => config('site.ysszd_title'),
             'ysszd_title_info' => config('site.ysszd_title_info'),
             'ysszd_icon' => localpath_to_netpath(config('site.ysszd_icon')),