mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
提现和佣金记录列表报错问题处理
This commit is contained in:
parent
152aae1a64
commit
00431da3d4
@ -405,13 +405,19 @@ class UserBrokerageServices extends BaseServices
|
||||
$item['time'] = $item['time_key'] = $item['add_time'] ? date('Y-m', (int)$item['add_time']) : '';
|
||||
$item['add_time'] = $item['add_time'] ? date('Y-m-d H:i', (int)$item['add_time']) : '';
|
||||
$item['fail_msg'] = $item['type'] == 'extract_fail' ? $userExtract[$item['link_id']]['fail_msg'] : '';
|
||||
$extract_type = $userExtract[$item['link_id']]['extract_type'];
|
||||
if ($extract_type == 'alipay') {
|
||||
$item['extract_type'] = '支付宝';
|
||||
} elseif ($extract_type == 'weixin') {
|
||||
$item['extract_type'] = '微信';
|
||||
if ($type == 4) {
|
||||
$extract_type = $userExtract[$item['link_id']]['extract_type'] ?? '';
|
||||
if ($extract_type == 'alipay') {
|
||||
$item['extract_type'] = '支付宝';
|
||||
} elseif ($extract_type == 'weixin') {
|
||||
$item['extract_type'] = '微信';
|
||||
} elseif ($extract_type == 'bank') {
|
||||
$item['extract_type'] = '银行卡';
|
||||
} else {
|
||||
$item['extract_type'] = '其他';
|
||||
}
|
||||
} else {
|
||||
$item['extract_type'] = '银行卡';
|
||||
$item['extract_type'] = '';
|
||||
}
|
||||
}
|
||||
$times = array_merge(array_unique(array_column($list, 'time_key')));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user