master
elf 3 years ago
parent 303e78256a
commit 19458394c3

@ -2101,12 +2101,9 @@ class GameController extends BaseController
throw new \Exception('请联系市场专员开启'); throw new \Exception('请联系市场专员开启');
} }
$topPromote = $promoteService->getTopPromote($promote); if (!$promoteService->checkPromoteLimitRule($promote, $gameId)) {
if (in_array($topPromote['account'], ['zhangle', 'changwanwl', 'youwan', 'youwan2022'])) {
if (in_array($gameId, [293, 294])) {
throw new \Exception('不能推广该游戏'); throw new \Exception('不能推广该游戏');
} }
}
} }
} }

Loading…
Cancel
Save