...
|
...
|
@@ -49,8 +49,8 @@ func AchievementPool(header *protocol.RequestHeader, request *protocol.Achieveme |
|
|
rspItem := &protocol.AchievementCommonListItem{
|
|
|
Achievement: GetAchievementItem(header, item),
|
|
|
GraspScore: protocol.GraspScore{
|
|
|
GraspScore: item.GraspScore,
|
|
|
GraspScorePercent: item.GraspScore,
|
|
|
GraspScore: item.UserGraspScore,
|
|
|
GraspScorePercent: item.UserGraspScore,
|
|
|
},
|
|
|
StatisticData: GetStatisticData(header, item.StaticDataOrm, item.AchievementId),
|
|
|
ChanceTemplate: getTemplate(item.TemplateId),
|
...
|
...
|
@@ -136,8 +136,8 @@ func AchievementDetail(header *protocol.RequestHeader, request *protocol.Achieve |
|
|
{
|
|
|
rsp.Achievement = GetAchievementItem(header, item)
|
|
|
rsp.GraspScore = protocol.GraspScore{
|
|
|
GraspScore: item.GraspScore,
|
|
|
GraspScorePercent: item.GraspScore,
|
|
|
GraspScore: item.UserGraspScore,
|
|
|
GraspScorePercent: item.UserGraspScore,
|
|
|
}
|
|
|
rsp.StatisticData = GetStatisticData(header, item.StaticDataOrm, item.AchievementId)
|
|
|
rsp.ChanceTemplate = getTemplate(item.TemplateId)
|
...
|
...
|
|