|
|
@@ -586,10 +586,11 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
public Integer getUserCodeNumBySkuId(Long userId, Long skuId, Boolean isHasVerifyCode) {
|
|
|
//查看双重验证码
|
|
|
UserFuncProperty userFuncProperty = userFuncPropertyMapper.selectOne(Wrappers.lambdaQuery(UserFuncProperty.class).eq(UserFuncProperty::getUserId, userId).last("limit 1"));
|
|
|
- //默认0次
|
|
|
- int num = 0;
|
|
|
+ //默认2次
|
|
|
+ int num = 2;
|
|
|
//有安全码查看次数 置为0
|
|
|
if (isHasVerifyCode) {
|
|
|
+ num = 0;
|
|
|
//存在身份实名认证有两次机会
|
|
|
List<Long> userIdList = userBindRelationService.getRelationUserIdList(userId, null);
|
|
|
Integer selectCount = userCertRecordMapper.selectCount(Wrappers.lambdaQuery(UserCertRecord.class)
|