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