|
|
@@ -206,8 +206,8 @@ public class CmsUserController{
|
|
|
if (userId==null) throw BusinessRuntimeException.getInstance("用户id为空");
|
|
|
UserFuncProperty userFuncProperty = userFuncPropertyMapper.selectOne(Wrappers.lambdaQuery(UserFuncProperty.class)
|
|
|
.eq(UserFuncProperty::getUserId, userId).last("limit 1"));
|
|
|
- //默认1次
|
|
|
- Integer verifyCheckNum = 1;
|
|
|
+ //默认0次
|
|
|
+ Integer verifyCheckNum = 0;
|
|
|
if (userFuncProperty != null) verifyCheckNum = userFuncProperty.getVerifyCheckNum();
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(verifyCheckNum);
|
|
|
}
|