diff --git a/Application/Home/Controller/GameController.class.php b/Application/Home/Controller/GameController.class.php index 4392dcf12..bc86868cc 100644 --- a/Application/Home/Controller/GameController.class.php +++ b/Application/Home/Controller/GameController.class.php @@ -2101,11 +2101,8 @@ class GameController extends BaseController throw new \Exception('请联系市场专员开启'); } - $topPromote = $promoteService->getTopPromote($promote); - if (in_array($topPromote['account'], ['zhangle', 'changwanwl', 'youwan', 'youwan2022'])) { - if (in_array($gameId, [293, 294])) { - throw new \Exception('不能推广该游戏'); - } + if (!$promoteService->checkPromoteLimitRule($promote, $gameId)) { + throw new \Exception('不能推广该游戏'); } }