|
|
|
@ -397,7 +397,7 @@ class BaseController extends HomeController
|
|
|
|
|
// 推广公司
|
|
|
|
|
$promoteCompanyService = new PromoteCompanyService();
|
|
|
|
|
$promoteCompany = $promoteCompanyService->getCompanies([$topPromote['company_id']]);
|
|
|
|
|
if ($promoteCompany[$topPromote['company_id']]['type'] == $promoteCompanyService::TYPE_CUSTOM) { // 特殊公司不能看
|
|
|
|
|
if ($promoteCompany[$topPromote['company_id']]['type'] == $promoteCompanyService::TYPE_CUSTOM && $promote['level'] == 4) { // 特殊公司不能看
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|