change two

This commit is contained in:
2025-08-04 17:26:32 +08:00
parent 8de5bbc71e
commit 43b926d668
2 changed files with 190 additions and 1 deletions

View File

@@ -92,7 +92,7 @@ func (l *QueryServiceLogic) VerifyTwoFactors(Name string, IDCard string) error {
Name: Name,
IDCard: IDCard,
}
verification, err := l.svcCtx.VerificationService.TwoFactorVerificationWest(l.ctx, twoVerification)
verification, err := l.svcCtx.VerificationService.TwoFactorVerification(twoVerification)
if err != nil {
return errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "二要素验证失败: %+v", err)
}