This commit is contained in:
aozhiwei 2022-05-14 16:20:10 +08:00
parent ba68e0c6d6
commit 987d7f60e5

View File

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