forked from Trustie/forgeplus
更改:开发者排行榜返回个数
This commit is contained in:
parent
3d9b36888a
commit
ee75356fa2
|
|
@ -1,7 +1,7 @@
|
|||
class UserRankController < ApplicationController
|
||||
# 根据时间获取热门开发者
|
||||
def index
|
||||
limit = 3
|
||||
limit = 9
|
||||
limit = params[:limit].to_i - 1 if params[:limit].present?
|
||||
limit = 99 if limit > 99
|
||||
$redis_cache.zunionstore("recent-days-user-rank", get_timeable_key_names)
|
||||
|
|
|
|||
Loading…
Reference in New Issue