1
This commit is contained in:
parent
4cb3c4a29c
commit
d7fd48b251
@ -70,6 +70,7 @@ class TempToolsController extends BaseController {
|
|||||||
{
|
{
|
||||||
$type = getReqVal('type', '');
|
$type = getReqVal('type', '');
|
||||||
$count = getReqVal('count', '');
|
$count = getReqVal('count', '');
|
||||||
|
$cond = getReqVal('cond', 0);
|
||||||
$accounts = array();
|
$accounts = array();
|
||||||
$conn = myself()->_getMysql('');
|
$conn = myself()->_getMysql('');
|
||||||
{
|
{
|
||||||
@ -81,7 +82,7 @@ class TempToolsController extends BaseController {
|
|||||||
array(
|
array(
|
||||||
':type' => $type,
|
':type' => $type,
|
||||||
':channel' => 6516,
|
':channel' => 6516,
|
||||||
':value' => 600
|
':value' => $cond
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$ranked = 1;
|
$ranked = 1;
|
||||||
@ -90,7 +91,8 @@ class TempToolsController extends BaseController {
|
|||||||
'account_id' => $row['account_id'],
|
'account_id' => $row['account_id'],
|
||||||
'name' => '',
|
'name' => '',
|
||||||
'ranked' => $ranked,
|
'ranked' => $ranked,
|
||||||
'score' => $row['value']
|
'score' => $row['value'],
|
||||||
|
'modifytimie' => $row['modifytime']
|
||||||
));
|
));
|
||||||
++$ranked;
|
++$ranked;
|
||||||
}
|
}
|
||||||
@ -113,7 +115,7 @@ class TempToolsController extends BaseController {
|
|||||||
phpcommon\extractOpenId($account['account_id']) . ','
|
phpcommon\extractOpenId($account['account_id']) . ','
|
||||||
. $account['name'] . ','
|
. $account['name'] . ','
|
||||||
. $account['ranked'] . ','
|
. $account['ranked'] . ','
|
||||||
. $account['value'] . ','
|
. $account['score'] . ','
|
||||||
. phpcommon\timestamp_to_datetime($account['modifytime'])
|
. phpcommon\timestamp_to_datetime($account['modifytime'])
|
||||||
. "\n";
|
. "\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user