This commit is contained in:
aozhiwei 2022-06-24 19:01:54 +08:00
parent 4cb3c4a29c
commit d7fd48b251

View File

@ -70,6 +70,7 @@ class TempToolsController extends BaseController {
{
$type = getReqVal('type', '');
$count = getReqVal('count', '');
$cond = getReqVal('cond', 0);
$accounts = array();
$conn = myself()->_getMysql('');
{
@ -81,7 +82,7 @@ class TempToolsController extends BaseController {
array(
':type' => $type,
':channel' => 6516,
':value' => 600
':value' => $cond
)
);
$ranked = 1;
@ -90,7 +91,8 @@ class TempToolsController extends BaseController {
'account_id' => $row['account_id'],
'name' => '',
'ranked' => $ranked,
'score' => $row['value']
'score' => $row['value'],
'modifytimie' => $row['modifytime']
));
++$ranked;
}
@ -113,7 +115,7 @@ class TempToolsController extends BaseController {
phpcommon\extractOpenId($account['account_id']) . ','
. $account['name'] . ','
. $account['ranked'] . ','
. $account['value'] . ','
. $account['score'] . ','
. phpcommon\timestamp_to_datetime($account['modifytime'])
. "\n";
}