|
|
@ -715,6 +715,16 @@ class PlatformController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
$size = $row;//每页显示的记录数
|
|
|
|
$size = $row;//每页显示的记录数
|
|
|
|
$pnum = ceil(count($data) / $size); //总页数,ceil()函数用于求大于数字的最小整数
|
|
|
|
$pnum = ceil(count($data) / $size); //总页数,ceil()函数用于求大于数字的最小整数
|
|
|
|
|
|
|
|
if(isset($_REQUEST['export'])){
|
|
|
|
|
|
|
|
data2csv($data,'推广员充值统计',array(
|
|
|
|
|
|
|
|
"promote_account"=>"推广员账号",
|
|
|
|
|
|
|
|
"count"=>"累计充值",
|
|
|
|
|
|
|
|
"rand"=>"排行榜",
|
|
|
|
|
|
|
|
"today"=>"今日充值",
|
|
|
|
|
|
|
|
"week"=>"本周充值",
|
|
|
|
|
|
|
|
"mounth"=>"本月充值",
|
|
|
|
|
|
|
|
));
|
|
|
|
|
|
|
|
}
|
|
|
|
$data = array_slice($data, ($arraypage - 1) * $size, $size);
|
|
|
|
$data = array_slice($data, ($arraypage - 1) * $size, $size);
|
|
|
|
$this->meta_title = '渠道充值统计列表';
|
|
|
|
$this->meta_title = '渠道充值统计列表';
|
|
|
|
$this->assign('list_data', $data);
|
|
|
|
$this->assign('list_data', $data);
|
|
|
|