From f5d6bd27ab91386e6d60df226995238d7c636146 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Tue, 5 Nov 2019 17:21:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E5=90=8E=E5=8F=B0->=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E5=AE=89=E5=85=A8=E5=AF=86=E7=A0=81--=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/GameDivideController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Home/Controller/GameDivideController.class.php b/Application/Home/Controller/GameDivideController.class.php index cd4c0b5fe..bcf20bc8d 100644 --- a/Application/Home/Controller/GameDivideController.class.php +++ b/Application/Home/Controller/GameDivideController.class.php @@ -15,8 +15,8 @@ class GameDivideController extends BaseController //首页 public function index() { - $parentId = getParentPromoteId(PID);//上级ID - if ($parentId > 0) { + $loginPromote = $this->getLoginPromote(); + if ($loginPromote['parent_id'] > 0) {//只开会长权限 $this->error('权限异常'); }