|
|
|
@ -414,8 +414,10 @@ class PlatformController extends ThinkController
|
|
|
|
|
unset($map['tp1.chain']);
|
|
|
|
|
$map['promote_id'] = 0;
|
|
|
|
|
$authorityData['count'] = 0;
|
|
|
|
|
|
|
|
|
|
//如果有官方渠道权限
|
|
|
|
|
if (in_array('0', explode(",", session('user_auth_promote_ids')))) {
|
|
|
|
|
$user_auth_promote_ids = session('user_auth_promote_ids');
|
|
|
|
|
if ($user_auth_promote_ids == 'all' || in_array('0', explode(",", $user_auth_promote_ids))) {
|
|
|
|
|
//官方渠道数据添加
|
|
|
|
|
$authorityData = M('user', 'tab_')->field('date_format(FROM_UNIXTIME(register_time),"%Y-%m-%d") AS time,
|
|
|
|
|
count(id) as count,
|
|
|
|
|