update 谷歌验证码字段修改
This commit is contained in:
@@ -757,7 +757,7 @@ public class LeaseShopServiceImpl extends ServiceImpl<LeaseShopMapper, LeaseShop
|
|||||||
//未绑定定谷歌验证器
|
//未绑定定谷歌验证器
|
||||||
return Result.fail("您的账号未开启双重验证,请先开启验证!");
|
return Result.fail("您的账号未开启双重验证,请先开启验证!");
|
||||||
}
|
}
|
||||||
if(!GoogleAuthenticator.checkCode(googleInfo.getSecret(), shopWalletInfoVo.getGCode(), System.currentTimeMillis())){
|
if(!GoogleAuthenticator.checkCode(googleInfo.getSecret(), shopWalletInfoVo.getGcode(), System.currentTimeMillis())){
|
||||||
return Result.fail("谷歌验证码错误");
|
return Result.fail("谷歌验证码错误");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,5 @@ public class ShopWalletInfoVo {
|
|||||||
private String payAddress;
|
private String payAddress;
|
||||||
|
|
||||||
@ApiModelProperty(value = "谷歌验证码",example = "123456")
|
@ApiModelProperty(value = "谷歌验证码",example = "123456")
|
||||||
@JsonProperty("gCode")
|
private Long gcode;
|
||||||
private Long gCode;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user