@ -34,7 +34,6 @@ class StatController extends ThinkController
} else {
$promoteaccount = '全部';
}
$list = D('user')->user($promote_id,$game_id);
$count = count($list);
@ -1280,6 +1279,7 @@ class StatController extends ThinkController
->find();
$data[$key]['sum']=$sdata['sum'];
$data_order_type = '';
if($_REQUEST['data_order']==2){
$data_order_type='sum';
$data_order=3;//倒序
@ -1243,7 +1243,7 @@ class UserModel extends Model{
$analysis = $redis->mget($keys);
//组合数组为键值对
$analysis = array_combine($keys,$analysis);
$data = '';
$data = [];
if(!empty($_GET['start']) && !empty($_GET['end'])) {
$start = strtotime($_GET['start']);