|
|
|
@ -128,6 +128,11 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
}
|
|
|
|
|
$data = my_sort($data, $data_order_type, (int)$data_order);
|
|
|
|
|
if(isset($_REQUEST['export'])){
|
|
|
|
|
//操作日志
|
|
|
|
|
$GetData = $_GET;
|
|
|
|
|
unset($GetData['export']);
|
|
|
|
|
addOperationLog(['op_type'=>3,'key'=>getNowDate(),'url'=>U(CONTROLLER_NAME.'/'.ACTION_NAME,$GetData),'menu'=>"充值-财务管理-公会统计-导出"]);
|
|
|
|
|
|
|
|
|
|
data2csv($data,'公会统计',array(
|
|
|
|
|
"company_name"=>"推广公司",
|
|
|
|
|
"promote_account"=>"会长渠道",
|
|
|
|
@ -322,6 +327,11 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
|
|
|
|
|
$data = my_sort($data, $data_order_type, (int)$data_order);
|
|
|
|
|
if(isset($_REQUEST['export'])){
|
|
|
|
|
|
|
|
|
|
$GetData = $_GET;
|
|
|
|
|
unset($GetData['export']);
|
|
|
|
|
addOperationLog(['op_type'=>3,'key'=>getNowDate(),'url'=>U(CONTROLLER_NAME.'/'.ACTION_NAME,$GetData),'menu'=>"充值-财务管理-公会统计-渠道查看-导出"]);
|
|
|
|
|
|
|
|
|
|
data2csv($data,'渠道统计',array(
|
|
|
|
|
"company_name"=>"推广公司",
|
|
|
|
|
"promote_account"=>"推广员账号",
|
|
|
|
@ -431,6 +441,11 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
if(!$value['game_name']) $value['game_name'] = "无";
|
|
|
|
|
}
|
|
|
|
|
if (isset($_REQUEST['export'])) {
|
|
|
|
|
|
|
|
|
|
$GetData = $_GET;
|
|
|
|
|
unset($GetData['export']);
|
|
|
|
|
addOperationLog(['op_type'=>3,'key'=>getNowDate(),'url'=>U(CONTROLLER_NAME.'/'.ACTION_NAME,$GetData),'menu'=>"充值-财务管理-公会统计-游戏统计-导出"]);
|
|
|
|
|
|
|
|
|
|
data2csv($data,$title, array(
|
|
|
|
|
"company_name"=>"推广公司",
|
|
|
|
|
"account"=>"会长账号",
|
|
|
|
@ -541,6 +556,11 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
$data[$key]['pay_way'] = getPayType($value['pay_way']);
|
|
|
|
|
}
|
|
|
|
|
if (isset($_REQUEST['export'])) {
|
|
|
|
|
|
|
|
|
|
$GetData = $_GET;
|
|
|
|
|
unset($GetData['export']);
|
|
|
|
|
addOperationLog(['op_type'=>3,'key'=>getNowDate(),'url'=>U(CONTROLLER_NAME.'/'.ACTION_NAME,$GetData),'menu'=>"充值-财务管理-公会统计-订单查看-导出"]);
|
|
|
|
|
|
|
|
|
|
data2csv($data,$title, array(
|
|
|
|
|
"pay_order_number"=>"支付订单号",
|
|
|
|
|
"pay_time"=>"充值时间",
|
|
|
|
@ -698,6 +718,8 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isset($_REQUEST['export'])) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$field = array(
|
|
|
|
|
"pay_order_number"=>"支付订单号",
|
|
|
|
|
"pay_time"=>"充值时间",
|
|
|
|
@ -716,6 +738,11 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
$field["balance"] = "平台币余额";
|
|
|
|
|
$title = "平台币直充明细";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$GetData = $_GET;
|
|
|
|
|
unset($GetData['export']);
|
|
|
|
|
addOperationLog(['op_type'=>3,'key'=>getNowDate(),'url'=>U(CONTROLLER_NAME.'/'.ACTION_NAME,$GetData),'menu'=>"充值-财务管理-公会统计-".$title."-导出"]);
|
|
|
|
|
|
|
|
|
|
data2csv($data,$title,$field);
|
|
|
|
|
}
|
|
|
|
|
$count = D("spend")->getSpendData($map,$field,$group,$order);
|
|
|
|
@ -864,6 +891,11 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
"mark"=>"交易说明",
|
|
|
|
|
"create_time"=>"交易时间"
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$GetData = $_GET;
|
|
|
|
|
unset($GetData['export']);
|
|
|
|
|
addOperationLog(['op_type'=>3,'key'=>getNowDate(),'url'=>U(CONTROLLER_NAME.'/'.ACTION_NAME,$GetData),'menu'=>"充值-财务管理-公会统计-"."平台币内充明细"."-导出"]);
|
|
|
|
|
|
|
|
|
|
data2csv($senddata,"平台币内充明细",$field);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|