推广平台->84推广员开权限

master
chenxiaojun 5 years ago
commit f46a76649c

@ -38,7 +38,7 @@ class PromoteController extends BaseController
$this->meta_title = "首页";
$loginPromote = $this->getLoginPromote();
$whiteList = [1, 8];
$whiteList = [1, 8, 84];
$isOpenQuery = in_array($loginPromote['id'], $whiteList) || in_array($loginPromote['parent_id'], $whiteList) || in_array($loginPromote['grand_id'], $whiteList) ? true : false;
if (!$isOpenQuery) {

@ -48,7 +48,7 @@
</if>
</div>
<?php
$whiteList = [1, 8, 2];
$whiteList = [1, 8, 2, 84];
$isOpenQuery = in_array($loginer['id'], $whiteList) || in_array($loginer['parent_id'], $whiteList) || in_array($loginer['grand_id'], $whiteList) ? true : false;
?>
<?php if($isOpenQuery):?>

Loading…
Cancel
Save