导出状态修改

master
sunke 5 years ago
parent 4a4a6501ce
commit 63dc4a15d8

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

Loading…
Cancel
Save