|
|
@ -12,7 +12,8 @@ class PromoteGradeController extends BaseController
|
|
|
|
protected function _initialize()
|
|
|
|
protected function _initialize()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
C(api('Config/lists'));
|
|
|
|
C(api('Config/lists'));
|
|
|
|
if((C('APP_ENV') == 'dev' || $loginer['company_id'] == 334) && $loginer['level'] <= 2) {
|
|
|
|
$loginPromote = $this->getLoginPromote();
|
|
|
|
|
|
|
|
if((C('APP_ENV') == 'dev' || $loginPromote['company_id'] == 334) && $loginPromote['level'] <= 2) {
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return $this->error('您没有权限');
|
|
|
|
return $this->error('您没有权限');
|
|
|
|