This commit is contained in:
aozhiwei 2022-06-24 18:56:43 +08:00
parent 4a15d38c3a
commit 4cb3c4a29c

View File

@ -107,9 +107,15 @@ class TempToolsController extends BaseController {
$account['name'] = $row['name']; $account['name'] = $row['name'];
} }
} }
echo 'account_id,name,rank' . "\n"; echo 'account_id,name,rank,score,time' . "\n";
foreach ($accounts as $account) { foreach ($accounts as $account) {
echo $account['account_id'] . ',' . $account['name'] . ',' . $account['ranked'] . "\n"; echo
phpcommon\extractOpenId($account['account_id']) . ','
. $account['name'] . ','
. $account['ranked'] . ','
. $account['value'] . ','
. phpcommon\timestamp_to_datetime($account['modifytime'])
. "\n";
} }
} }