mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
更改:项目排行榜规则及个数
This commit is contained in:
@@ -178,6 +178,9 @@ class Project < ApplicationRecord
|
||||
$redis_cache.srem("v2-project-rank-deleted", self.id)
|
||||
end
|
||||
end
|
||||
if !self.common?
|
||||
$redis_cache.srem("v2-project-rank-deleted", self.id)
|
||||
end
|
||||
end
|
||||
|
||||
def decre_project_common
|
||||
|
||||
Reference in New Issue
Block a user