update 谷歌验证码字段修改

This commit is contained in:
yyb
2026-01-15 15:25:37 +08:00
parent 6e9beb5235
commit 4124c072e5
2 changed files with 2 additions and 3 deletions

View File

@@ -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("谷歌验证码错误");
} }

View File

@@ -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;
} }