From e32be1bb5723e5b6d3dfe742a526cea68c8f76ec Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 5 Mar 2020 11:27:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=B5=84=E6=BA=90=E6=9D=83?= =?UTF-8?q?=E9=99=90=E5=8E=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/TestResourceController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Home/Controller/TestResourceController.class.php b/Application/Home/Controller/TestResourceController.class.php index c7bc90b12..e882db9a8 100644 --- a/Application/Home/Controller/TestResourceController.class.php +++ b/Application/Home/Controller/TestResourceController.class.php @@ -247,9 +247,9 @@ class TestResourceController extends BaseController parent::_initialize(); $map['id'] = get_pid(); $pro = M("promote", "tab_")->where($map)->find(); - if ($pro['parent_id']!=0&&!($pro['parent_id']>0&&$pro['grand_id']==0)) { - $this->error('无权操作!'); - } +// if ($pro['parent_id']!=0&&!($pro['parent_id']>0&&$pro['grand_id']==0)) { +// $this->error('无权操作!'); +// } } public function index($p=0)