@ -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();