@ -15,8 +15,8 @@ class GameDivideController extends BaseController
//首页
public function index()
{
$parentId = getParentPromoteId(PID);//上级ID
$loginPromote = $this->getLoginPromote();
if ($parentId > 0) {
if ($loginPromote['parent_id'] > 0) {//只开会长权限
$this->error('权限异常');
}