更改:项目排行榜规则及个数

This commit is contained in:
2023-01-04 09:19:42 +08:00
parent 0f8d2e6a5d
commit cec764127e
2 changed files with 4 additions and 1 deletions

View File

@@ -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