From 3af87434b964e7482a0cbc0d3078b8c1c70229f0 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 17 Jan 2020 16:44:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E5=88=A4=E6=96=AD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/ApplyService.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Application/Base/Service/ApplyService.class.php b/Application/Base/Service/ApplyService.class.php index 3a963339e..2ec917e78 100644 --- a/Application/Base/Service/ApplyService.class.php +++ b/Application/Base/Service/ApplyService.class.php @@ -200,6 +200,9 @@ class ApplyService { public function checkSociatyPerm($promote, $game) { + if ($game['apply_auth'] == 1) { + return true; + } $promoteService = new PromoteService(); $topPromote = $promoteService->getTopPromote($promote); $record = M('sociaty_games', 'tab_')->where(['game_id' => $game['id'], 'promote_id' => $topPromote['id']])->find();