From d33bb3f3f823a64afd246ad46d47f92e22055606 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 30 Sep 2020 18:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/PromoteGradeController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Home/Controller/PromoteGradeController.class.php b/Application/Home/Controller/PromoteGradeController.class.php index f7255d9c6..0ef57eb7e 100644 --- a/Application/Home/Controller/PromoteGradeController.class.php +++ b/Application/Home/Controller/PromoteGradeController.class.php @@ -12,7 +12,8 @@ class PromoteGradeController extends BaseController protected function _initialize() { 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 { return $this->error('您没有权限');