From 68a071cfaac0e6b8b0b7228dad5343e6224741cb Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 25 Dec 2025 10:12:20 -0800 Subject: [PATCH] =?UTF-8?q?fix(identity-service):=20=E6=9A=82=E6=97=B6?= =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=B8=89=E8=A6=81=E7=B4=A0=E8=BA=AB=E4=BB=BD?= =?UTF-8?q?=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 二要素 API (Id2MetaStandardVerify) 返回 440 无权限调用错误 暂时恢复使用三要素验证,保留二要素代码待开通权限后使用 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../src/infrastructure/external/kyc/aliyun-kyc.provider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/identity-service/src/infrastructure/external/kyc/aliyun-kyc.provider.ts b/backend/services/identity-service/src/infrastructure/external/kyc/aliyun-kyc.provider.ts index aef5458d..3f834af5 100644 --- a/backend/services/identity-service/src/infrastructure/external/kyc/aliyun-kyc.provider.ts +++ b/backend/services/identity-service/src/infrastructure/external/kyc/aliyun-kyc.provider.ts @@ -95,8 +95,8 @@ export class AliyunKycProvider { phoneNumber: string, requestId: string, ): Promise { - // 默认使用二要素验证(姓名+身份证号) - return this.verifyIdCardTwoFactor(realName, idCardNumber, requestId); + // 暂时使用三要素验证(二要素需要单独开通权限) + return this.verifyIdCardThreeFactor(realName, idCardNumber, phoneNumber, requestId); } /**