diff --git a/webapp/controller/TempToolsController.class.php b/webapp/controller/TempToolsController.class.php index ada4af59..0a286b9d 100644 --- a/webapp/controller/TempToolsController.class.php +++ b/webapp/controller/TempToolsController.class.php @@ -206,11 +206,21 @@ class TempToolsController extends BaseController { public function exportData2() { - echo 'account_id' . "\n"; - foreach ($rows as $row) { - $channel = phpcommon\extractChannel($row['account_id']); - if ($channel == 6516) { - echo $row['account_id'] . "\n"; + $type = getReqVal('type', ''); + $accounts = array(); + $conn = myself()->_getMysql(''); + { + $rows = $conn->execQuery( + 'SELECT * FROM t_user', + array( + ) + ); + echo 'account_id' . "\n"; + foreach ($rows as $row) { + $channel = phpcommon\extractChannel($row['account_id']); + if ($channel == 6516) { + echo $row['account_id'] . "\n"; + } } } }