change tow verifucation

This commit is contained in:
2025-04-26 13:09:34 +08:00
parent 7c590a206a
commit b60f6ffb3e
5 changed files with 127 additions and 54 deletions

View File

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