master
ELF 4 years ago
parent ce1d061ee6
commit 2f4868553a

@ -395,7 +395,7 @@ class BaseController extends HomeController
/**
* 市场部特殊推广公司的规则
*/
$onlyPresidentList = [330, 331, 332, 334];
$onlyPresidentList = [330, 331, 332];
if (in_array($topPromote['company_id'], $onlyPresidentList)) {
if ($topPromote['can_view_recharge'] == 1 && $promote['level'] == 1) {
return true;
@ -404,6 +404,15 @@ class BaseController extends HomeController
}
}
$closePromoteLowest = [334];
if (in_array($topPromote['company_id'], $closePromoteLowest)) {
if ($topPromote['can_view_recharge'] == 1 && $promote['level'] != 4) {
return true;
} else {
return false;
}
}
if ($topPromote['can_view_recharge'] == 1) {
return true;
}

Loading…
Cancel
Save