diff --git a/Application/Base/Repository/TestingResourceRepository.class.php b/Application/Base/Repository/TestingResourceRepository.class.php index 98b2f45cc..19a856fc0 100644 --- a/Application/Base/Repository/TestingResourceRepository.class.php +++ b/Application/Base/Repository/TestingResourceRepository.class.php @@ -209,10 +209,10 @@ class TestingResourceRepository 'game_name' => $role ? $role['game_name'] : '--', 'server_name' => $role ? $role['server_name'] : '--', 'role_name' => $role ? $role['role_name'] : '--', - 'user_account' => $role ?$role['user_account'] : '--', - 'user_phone' => $user ? $user['phone'] : '', - 'apply_username' => $applyPromote ? $applyPromote['account'] . '[推广员]' : ($applyAdmin ? $applyAdmin['username'] . '[管理员]' : ''), - 'promote_account' => $promote['account'], + 'user_account' => $role ? $this->encodeStr($role['user_account']) : '--', + 'user_phone' => $user ? $this->encodeStr($user['phone']) : '', + 'apply_username' => $applyPromote ? $this->encodeStr($applyPromote['account']) . '[推广员]' : ($applyAdmin ? $this->encodeStr($applyAdmin['username']) . '[管理员]' : ''), + 'promote_account' => $this->encodeStr($promote['account']), 'verify_admin_username' => $batch['verify_status'] == 0 ? '--' : ($verifyAdmin ? $verifyAdmin['username'] : '系統'), // 'history_provide_amount' => 0.00, 'apply_amount' => $batch['apply_amount'], @@ -720,14 +720,14 @@ class TestingResourceRepository $records[] = [ 'user_id' => $testingUser['user_id'], - 'user_account' => $testingUser['user_account'], + 'user_account' => $this->encodeStr($testingUser['user_account']), 'status_text' => self::$userStatusList[$testingUser['status']] ?? '未知', 'verify_status_text' => self::$userVerifyStatusList[$testingUser['verify_status']] ?? '未知', 'verify_status' => $testingUser['verify_status'], 'status' => $testingUser['status'], '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']), - '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']) : '--', ]; }