|
|
|
@ -2123,6 +2123,11 @@ class DownloadController extends BaseController {
|
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
|
$value['create_time'] = date("Y-m-d H:i:s", $value['create_time']);
|
|
|
|
|
$value['user_account'] = $this->encryption($value['user_account']);
|
|
|
|
|
if($value['check_status'] == 1) {
|
|
|
|
|
$value['check_status'] = "正常";
|
|
|
|
|
}else {
|
|
|
|
|
$value['check_status'] = "拉黑";
|
|
|
|
|
}
|
|
|
|
|
//获取累计发放
|
|
|
|
|
$where = array(
|
|
|
|
|
"user_id"=>$value['user_id'],
|
|
|
|
@ -2205,9 +2210,9 @@ class DownloadController extends BaseController {
|
|
|
|
|
$data[$key]['create_time'] = date('Y-m-d H:m:i',$value['create_time']);
|
|
|
|
|
$data[$key]['user_account'] = $this->encryption($value['user_account']);
|
|
|
|
|
if($value['check_status'] == 1) {
|
|
|
|
|
$data[$key]['check_status'] = "冻结";
|
|
|
|
|
}else {
|
|
|
|
|
$data[$key]['check_status'] = "启用";
|
|
|
|
|
}else {
|
|
|
|
|
$data[$key]['check_status'] = "冻结";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$xlsData = $data;
|
|
|
|
|