This commit is contained in:
aozhiwei 2022-05-26 19:27:05 +08:00
parent 1b933a69d5
commit 2f92acf731

View File

@ -105,7 +105,7 @@ class RankingController extends BaseAuthedController {
) )
); );
if ($row['row_count'] > 0) { if ($row['row_count'] > 0) {
$count = ceil($row['row_count'] / 50.0); $count = ceil($row['row_count'] / 2);
$rows = myself()->_getSelfMysql()->execQuery( $rows = myself()->_getSelfMysql()->execQuery(
'SELECT * FROM t_rank_activity ' . 'SELECT * FROM t_rank_activity ' .
'WHERE type=:type AND channel=:channel AND value>=:value ' . 'WHERE type=:type AND channel=:channel AND value>=:value ' .