特殊外团

master
tping 4 years ago
parent e79f18e618
commit 33ef14e1af

@ -396,8 +396,8 @@ class BaseController extends HomeController
// 推广公司 // 推广公司
$promoteCompanyService = new PromoteCompanyService(); $promoteCompanyService = new PromoteCompanyService();
$promoteCompanyService->getCompanies([$topPromote['company_id']]); $promoteCompany = $promoteCompanyService->getCompanies([$topPromote['company_id']]);
if ($promoteCompanyService['type'] == $promoteCompanyService::TYPE_CUSTOM) { if ($promoteCompany['type'] == $promoteCompanyService::TYPE_CUSTOM) {
// $closePromoteLowest = [334, 370]; // $closePromoteLowest = [334, 370];
// if (in_array($topPromote['company_id'], $closePromoteLowest)) { // if (in_array($topPromote['company_id'], $closePromoteLowest)) {
if ($topPromote['can_view_recharge'] == 1 && !in_array($promote['level'], [3, 4])) { if ($topPromote['can_view_recharge'] == 1 && !in_array($promote['level'], [3, 4])) {

Loading…
Cancel
Save