| | |
| | | import com.xcong.excoin.modules.member.parameter.dto.*; |
| | | import com.xcong.excoin.modules.member.parameter.vo.*; |
| | | import com.xcong.excoin.modules.member.service.MemberService; |
| | | import com.xcong.excoin.modules.member.vo.DefaultWayVo; |
| | | import com.xcong.excoin.modules.platform.dao.PlatformFeeSettingDao; |
| | | import com.xcong.excoin.modules.platform.dao.PlatformSymbolsCoinDao; |
| | | import com.xcong.excoin.modules.platform.entity.PlatformFeeSettingEntity; |
| | |
| | | } |
| | | |
| | | // 判断是否拥有推荐人,若为空则默认系统 |
| | | // if (StrUtil.isBlank(registerDto.getRefererId())) { |
| | | // registerDto.setRefererId(AppContants.SYSTEM_REFERER); |
| | | // } |
| | | if (StrUtil.isBlank(registerDto.getRefererId())) { |
| | | registerDto.setRefererId(AppContants.SYSTEM_REFERER); |
| | | } |
| | | |
| | | if (!AppContants.SYSTEM_REFERER.equals(registerDto.getRefererId())) { |
| | | MemberEntity isExist = memberDao.selectMemberInfoByInviteId(registerDto.getRefererId()); |
| | | if (isExist == null) { |
| | |
| | | Integer fingerprintState = member.getFingerprintState(); |
| | | memberPersonCenterInfoVo.setFingerprintState(fingerprintState); |
| | | |
| | | memberPersonCenterInfoVo.setIsMb(member.getIsTrader()); |
| | | return Result.ok(memberPersonCenterInfoVo); |
| | | } |
| | | |
| | |
| | | return Result.ok(memberMessageReminderVo); |
| | | } |
| | | |
| | | @Override |
| | | public Result findDefaultWay() { |
| | | //获取用户ID |
| | | Long memberId = LoginUserUtils.getAppLoginUser().getId(); |
| | | // Long memberId = 446L; |
| | | |
| | | DefaultWayVo defaultWayVo = new DefaultWayVo(); |
| | | MemberPaymentMethodEntity defualtMethod = this.memberPaymentMethodDao.selectDefualtMethod(memberId, null, "1"); |
| | | if(ObjectUtil.isNotEmpty(defualtMethod)){ |
| | | String paymentType = defualtMethod.getPaymentType(); |
| | | defaultWayVo.setPaymentType(paymentType); |
| | | } |
| | | return Result.ok(defaultWayVo); |
| | | } |
| | | |
| | | } |
| | | |