Commit 940606fc authored by hujiebin's avatar hujiebin

Update group_rank.go

parent 607c47e6
......@@ -219,6 +219,9 @@ func GroupPowerStar(c *gin.Context) (*mycontext.MyContext, error) {
if param.Type == groupPower_e.GroupPowerStarTypeActive {
score = score / 60
}
if score <= 0 {
continue
}
response = append(response, group_power_cv.CvGroupPowerStarData{
User: user_cv.CvUserTiny{
Id: user.ID,
......@@ -279,6 +282,9 @@ func GroupPowerStarPeriod(c *gin.Context) (*mycontext.MyContext, error) {
if param.Type == groupPower_e.GroupPowerStarTypeActive {
score = score / 60
}
if score <= 0 {
continue
}
response = append(response, group_power_cv.CvGroupPowerStarData{
User: user_cv.CvUserTiny{
Id: user.ID,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment