|
|
|
|
@ -186,7 +186,9 @@ public class WxUserMemberServiceImpl implements IWxUserMemberService {
|
|
|
|
|
throw new ServiceException("用户不存在");
|
|
|
|
|
}
|
|
|
|
|
int floatScore = 0;
|
|
|
|
|
Boolean isCompleteInformation = false;
|
|
|
|
|
if (wxUserMember.getIsCompleteInformation() == null || wxUserMember.getIsCompleteInformation() == 0) {
|
|
|
|
|
isCompleteInformation = true;
|
|
|
|
|
// 修改完善状态
|
|
|
|
|
wxUserMember.setIsCompleteInformation(1);
|
|
|
|
|
List<IntegralGlobal> integralGlobalList = integralGlobalMapper.selectIntegralGlobalList(new IntegralGlobal());
|
|
|
|
|
@ -212,7 +214,7 @@ public class WxUserMemberServiceImpl implements IWxUserMemberService {
|
|
|
|
|
|
|
|
|
|
// 刷新用户信息
|
|
|
|
|
LoginUserVo loginUserVo = refreshWxUserInfo();
|
|
|
|
|
if (wxUserMember.getIsCompleteInformation() == 1) {
|
|
|
|
|
if (isCompleteInformation) {
|
|
|
|
|
loginUserVo.setIntegralText("您已完善个人信息,获得" + floatScore + "积分");
|
|
|
|
|
}
|
|
|
|
|
return loginUserVo;
|
|
|
|
|
|