|
@@ -218,6 +218,11 @@ class UserExtract extends AuthController
|
|
|
if ($item['status'] == 0) $status = '审核中';
|
|
|
if ($item['status'] == 1) $status = '已提现';
|
|
|
if ($item['status'] < 0) $status = '未通过';
|
|
|
+ if ($item['type'] == 1){
|
|
|
+ $type = '静态';
|
|
|
+ }else{
|
|
|
+ $type = '动态';
|
|
|
+ }
|
|
|
|
|
|
|
|
|
$export[] = [
|
|
@@ -231,11 +236,12 @@ class UserExtract extends AuthController
|
|
|
$item['bank_address'],
|
|
|
$item['bank_belonging'],
|
|
|
$status,
|
|
|
+ $type,
|
|
|
$item['fail_msg'],
|
|
|
date('Y-m-d H:i:s', $item['add_time'])
|
|
|
];
|
|
|
}
|
|
|
- PHPExcelService::setExcelHeader(['UID', '用户昵称', '姓名','手机号', '提现金额', '提现方式','微信|支付宝|银行卡', '银行卡地址','所属支行名称', '状态',
|
|
|
+ PHPExcelService::setExcelHeader(['UID', '用户昵称', '姓名','手机号', '提现金额', '提现方式','微信|支付宝|银行卡', '银行卡地址','所属支行名称', '状态', '类型',
|
|
|
'未通过原因', '提现时间'])
|
|
|
->setExcelTile('提现导出' . date('YmdHis', time()), '提现信息' . time(), ' 生成时间:' . date('Y-m-d H:i:s', time()))
|
|
|
->setExcelContent($export)
|
|
@@ -363,7 +369,7 @@ class UserExtract extends AuthController
|
|
|
if ($extract->is_examine > 1) return JsonService::fail('该记录已审核');
|
|
|
$extract['is_examine'] = 2;
|
|
|
$extract['reviewed'] = $extract['reviewed'].','.$admin['real_name'];
|
|
|
- }elseif ($admin['roles'] == 3){
|
|
|
+ }elseif ($admin['roles'] == 8){
|
|
|
if ($extract->examine_status > 0) return JsonService::fail('该记录已审核');
|
|
|
$extract['examine_status'] = 1;
|
|
|
$extract['reviewed'] = $extract['reviewed'].','.$admin['real_name'];
|