|
|
|
@ -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('权限异常');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|