zhanggucheng 3 years ago
parent 4b285af104
commit 36d42a96b3

@ -209,10 +209,10 @@ class TestingResourceRepository
'game_name' => $role ? $role['game_name'] : '--', 'game_name' => $role ? $role['game_name'] : '--',
'server_name' => $role ? $role['server_name'] : '--', 'server_name' => $role ? $role['server_name'] : '--',
'role_name' => $role ? $role['role_name'] : '--', 'role_name' => $role ? $role['role_name'] : '--',
'user_account' => $role ?$role['user_account'] : '--', 'user_account' => $role ? $this->encodeStr($role['user_account']) : '--',
'user_phone' => $user ? $user['phone'] : '', 'user_phone' => $user ? $this->encodeStr($user['phone']) : '',
'apply_username' => $applyPromote ? $applyPromote['account'] . '[推广员]' : ($applyAdmin ? $applyAdmin['username'] . '[管理员]' : ''), 'apply_username' => $applyPromote ? $this->encodeStr($applyPromote['account']) . '[推广员]' : ($applyAdmin ? $this->encodeStr($applyAdmin['username']) . '[管理员]' : ''),
'promote_account' => $promote['account'], 'promote_account' => $this->encodeStr($promote['account']),
'verify_admin_username' => $batch['verify_status'] == 0 ? '--' : ($verifyAdmin ? $verifyAdmin['username'] : '系統'), 'verify_admin_username' => $batch['verify_status'] == 0 ? '--' : ($verifyAdmin ? $verifyAdmin['username'] : '系統'),
// 'history_provide_amount' => 0.00, // 'history_provide_amount' => 0.00,
'apply_amount' => $batch['apply_amount'], 'apply_amount' => $batch['apply_amount'],
@ -720,14 +720,14 @@ class TestingResourceRepository
$records[] = [ $records[] = [
'user_id' => $testingUser['user_id'], 'user_id' => $testingUser['user_id'],
'user_account' => $testingUser['user_account'], 'user_account' => $this->encodeStr($testingUser['user_account']),
'status_text' => self::$userStatusList[$testingUser['status']] ?? '未知', 'status_text' => self::$userStatusList[$testingUser['status']] ?? '未知',
'verify_status_text' => self::$userVerifyStatusList[$testingUser['verify_status']] ?? '未知', 'verify_status_text' => self::$userVerifyStatusList[$testingUser['verify_status']] ?? '未知',
'verify_status' => $testingUser['verify_status'], 'verify_status' => $testingUser['verify_status'],
'status' => $testingUser['status'], 'status' => $testingUser['status'],
'verify_time' => $testingUser['verify_time'] == 0 ? '' : date('Y-m-d H:i:s', $testingUser['verify_time']), 'verify_time' => $testingUser['verify_time'] == 0 ? '' : date('Y-m-d H:i:s', $testingUser['verify_time']),
'create_time' => date('Y-m-d H:i:s', $testingUser['create_time']), 'create_time' => date('Y-m-d H:i:s', $testingUser['create_time']),
'promote_account' => $user ? $user['promote_account'] : '--', 'promote_account' => $user ? $this->encodeStr($user['promote_account']) : '--',
'login_time' => $user ? date('Y-m-d H:i:s', $user['login_time']) : '--', 'login_time' => $user ? date('Y-m-d H:i:s', $user['login_time']) : '--',
]; ];
} }

Loading…
Cancel
Save