Merge branch 'develop' into szzh
This commit is contained in:
commit
80f87bb36e
|
@ -433,7 +433,7 @@ module UserScoreHelper
|
||||||
|
|
||||||
#协同得分
|
#协同得分
|
||||||
def collaboration(option_number)
|
def collaboration(option_number)
|
||||||
option_number.memo * 2 + option_number.messages_for_issues + option_number.issues_status + option_number.replay_for_message + option_number.replay_for_memo
|
option_number.messages_for_issues + option_number.issues_status + option_number.replay_for_message + option_number.replay_for_memo
|
||||||
end
|
end
|
||||||
#影响力得分
|
#影响力得分
|
||||||
def influence(option_number)
|
def influence(option_number)
|
||||||
|
@ -445,7 +445,7 @@ module UserScoreHelper
|
||||||
end
|
end
|
||||||
#项目贡献得分
|
#项目贡献得分
|
||||||
def active(option_number)
|
def active(option_number)
|
||||||
option_number.changeset * 4 + option_number.document * 4 + option_number.attachment * 4 + option_number.issue_done_ratio * 2 + option_number.post_issue * 4
|
option_number.changeset * 4 + option_number.document * 4 + option_number.attachment * 4 + option_number.issue_done_ratio * 2 + option_number.post_issue * 4 + option_number.memo * 2
|
||||||
end
|
end
|
||||||
|
|
||||||
#更新发帖数
|
#更新发帖数
|
||||||
|
|
Loading…
Reference in New Issue