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)