Commit 3d4559a6 authored by zhangfeng's avatar zhangfeng

客户端会员积分基本信息

parent 99e50784
......@@ -23,4 +23,8 @@ public class AppMemberUserScoreInfoRespVO {
private Integer totalScore;
@ApiModelProperty(value = "会员等级名称")
private String levelName;
@ApiModelProperty(value = "积分范围 下界")
private Integer lowerCount;
@ApiModelProperty(value = "积分范围 上界")
private Integer upperCount;
}
......@@ -125,6 +125,8 @@ public class MemberUserScoreServiceImpl extends AbstractService<MemberUserScoreM
MemberUserLevelConfigBaseRespVO level = memberUserLevelConfigService.getLevelByCount(userScoreTotal);
if (level != null) {
infoRespVO.setLevelName(level.getName());
infoRespVO.setLowerCount(level.getLowerCount());
infoRespVO.setUpperCount(level.getUpperCount());
}
return infoRespVO;
}
......
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