admin权限

master
liuweiwen 5 years ago
parent 1b2cf94c9b
commit cdfa8e4eee

@ -1361,7 +1361,7 @@ class PromoteController extends ThinkController
if ($page) {
$this->assign('_page', $page);
}
$this->assign('is_admin', is_administrator());
$this->assign('list_data', $list_data);
$this->display();
}
@ -1396,7 +1396,6 @@ class PromoteController extends ThinkController
$this->meta_title ='工会归属申请';
$this->m_title = '工会归属管理';
$companys = M('promote_company', 'tab_')->where(['status' => 1])->select();
$this->assign('is_admin', is_administrator());
$this->assign('companys', $companys);
$this->assign('commonset', M('Kuaijieicon')->where(['url'=>'Promote/lists/type/1','status'=>1])->find());
$this->display();

Loading…
Cancel
Save