diff --git a/Application/Admin/Model/PromoteModel.class.php b/Application/Admin/Model/PromoteModel.class.php index 4256f3f97..b466da9a2 100644 --- a/Application/Admin/Model/PromoteModel.class.php +++ b/Application/Admin/Model/PromoteModel.class.php @@ -390,6 +390,7 @@ class PromoteModel extends Model{ { $where['level'] = $level; + $userAuth = session('user_auth'); setPowerPromoteIds($where,'id'); $offcialData = [0=>['id'=>0,'nickname'=>'官方渠道']]; @@ -399,7 +400,7 @@ class PromoteModel extends Model{ $item['nickname'] = $item['account'] . ($item['nickname'] ? "({$item['nickname']})" : ""); } - if (in_array('0',explode(',',$where['id'][1]))) { + if (in_array('0',explode(',',$where['id'][1]))||$userAuth['data_empower_type']==1) { $result = array_merge($offcialData,$result); // dump($result);die(); }