From 83d820cbce2e37a5ccd26457442e1ce659daf668 Mon Sep 17 00:00:00 2001 From: zhongzm Date: Mon, 20 Jan 2025 16:48:10 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Akyc=E7=8A=B6=E6=80=81=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/typings/api.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/typings/api.d.ts b/src/typings/api.d.ts index dc9f571..244367c 100644 --- a/src/typings/api.d.ts +++ b/src/typings/api.d.ts @@ -723,7 +723,8 @@ declare namespace Api { } namespace KYC { /** KYC status enum */ - type KYCStatus = 0 | 1 | 2; // 0: 未认证, 1: 认证中, 2: 已认证 + type KYCStatus = 'UNVERIFIED' | 'PENDING' | 'VERIFIED' | 'REJECTED' | + 'unverified' | 'pending' | 'verified' | 'rejected'; // 支持大小写 /** KYC info */ interface KYCInfo {