|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|