|
@@ -267,7 +267,7 @@ class MemberService
|
|
|
$exportData = [];
|
|
|
foreach ($rows as $row) {
|
|
|
$row['info'] = [
|
|
|
- 'member_info_nickname' => !empty($row['member_info_nickname']) ? $row['member_info_nickname'] : substr($row['member_mobile'], -4, 4) . '用户',
|
|
|
+ 'member_info_nickname' => !empty($row['member_info_nickname']) ? $row['member_info_nickname'] : substr($row['member_mobile'], -4, 4) . '会员',
|
|
|
'member_info_headimg' => !empty($row['member_info_headimg']) ? $row['member_info_headimg'] : '',
|
|
|
'member_info_referee' => !empty($row['member_info_referee']) ? $row['member_info_referee'] : '',
|
|
|
'member_info_business' => !empty($row['member_info_business']) ? $row['member_info_business'] : '',
|
|
@@ -322,7 +322,7 @@ class MemberService
|
|
|
'cash' => isset($account['cash']) ? $account['cash']['member_account_surplus'] + $account['cash']['member_account_added'] : 0,
|
|
|
'points' => isset($account['points']) ? $account['points']['member_account_surplus'] + $account['points']['member_account_added'] : 0,
|
|
|
'is_auth' => $row['is_auth'],
|
|
|
- 'level' => $row['member_role_name'] ?? '普通用户',
|
|
|
+ 'level' => $row['member_role_name'] ?? '普通会员',
|
|
|
'member_addtimes' => $row['member_addtimes'],
|
|
|
'member_info_referee' => $row['info']['member_info_referee'] ?? '',
|
|
|
'member_info_business' => $row['info']['member_info_business'] ?? '',
|
|
@@ -343,7 +343,7 @@ class MemberService
|
|
|
}
|
|
|
$member = $member->toArray();
|
|
|
$member['info'] = [
|
|
|
- 'member_info_nickname' => !empty($member['info']) && !empty($member['info']['member_info_nickname']) ? $member['info']['member_info_nickname'] : substr($member['member_mobile'], -4, 4) . '用户',
|
|
|
+ 'member_info_nickname' => !empty($member['info']) && !empty($member['info']['member_info_nickname']) ? $member['info']['member_info_nickname'] : substr($member['member_mobile'], -4, 4) . '会员',
|
|
|
'member_info_headimg' => !empty($member['info']) && !empty($member['info']['member_info_headimg']) ? $member['info']['member_info_headimg'] : '',
|
|
|
'member_info_referee' => !empty($member['info']) && !empty($member['info']['member_info_referee']) ? $member['info']['member_info_referee'] : '',
|
|
|
'member_info_business' => !empty($member['info']) && !empty($member['info']['member_info_business']) ? $member['info']['member_info_business'] : '',
|