master
elf 3 years ago
parent 303e78256a
commit 19458394c3

@ -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('不能推广该游戏');
}
}

Loading…
Cancel
Save