|
|
@@ -78,7 +78,11 @@ func GetEggPointRecordBase(now time.Time, uid int64, page int, limit int) ([]md. |
|
|
|
results = append(results, doc) |
|
|
|
} |
|
|
|
} |
|
|
|
nowScore = utils.Float64ToStr(results[0].ScoreValue) |
|
|
|
if len(results) > 0 { |
|
|
|
nowScore = utils.Float64ToStr(results[0].ScoreValue) |
|
|
|
} else { |
|
|
|
nowScore = "60" |
|
|
|
} |
|
|
|
} else { |
|
|
|
nowScore = "60" |
|
|
|
} |
|
|
|