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