|
|
@ -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 (in_array($topPromote['company_id'], $onlyPresidentList)) {
|
|
|
|
if ($topPromote['can_view_recharge'] == 1 && $promote['level'] == 1) {
|
|
|
|
if ($topPromote['can_view_recharge'] == 1 && $promote['level'] == 1) {
|
|
|
|
return true;
|
|
|
|
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) {
|
|
|
|
if ($topPromote['can_view_recharge'] == 1) {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|