1
This commit is contained in:
parent
8b1f3a02a0
commit
128bc16dca
@ -16,15 +16,15 @@ class RankingController extends BaseAuthedController {
|
|||||||
$type = getReqVal('type', 0);
|
$type = getReqVal('type', 0);
|
||||||
$userList = array();
|
$userList = array();
|
||||||
{
|
{
|
||||||
SqlHelper::ormSelect(
|
$rows = myself()->_getSelfMysql()->execQuery(
|
||||||
myself()->_getSelfMysql(),
|
'SELECT * FROM t_user ' .
|
||||||
't_user',
|
"LIMIT 50",
|
||||||
array(
|
array(
|
||||||
),
|
)
|
||||||
function ($row) use(&$userList) {
|
|
||||||
array_push($userList, User::info($row));
|
|
||||||
}
|
|
||||||
);
|
);
|
||||||
|
foreach ($rows as $row) {
|
||||||
|
array_push($userList, User::info($row));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$rankingList = array();
|
$rankingList = array();
|
||||||
$ranked = 1;
|
$ranked = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user