Merge branch 'hotfix/promote_group_view_recharge' of wmtx/platform into master

雷雨等导量公会组长可以看到充值信息
master
廖金灵 4 years ago committed by Gogs
commit 1f7689fc6b

@ -395,7 +395,7 @@ class BaseController extends HomeController
$closePromoteLowest = [334, 370];
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'], [4])) {
return true;
} else {
return false;

Loading…
Cancel
Save