From b3dc694db76c8f9caafd5dc072b20b32953f929c Mon Sep 17 00:00:00 2001 From: ltx <1006158920@qq.com> Date: Mon, 13 Apr 2026 15:28:42 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E8=BA=AB=E4=BB=BD=E8=AE=A4?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subpackages/mine/auth/auth.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subpackages/mine/auth/auth.js b/subpackages/mine/auth/auth.js index 231b69b..ddf4f3d 100644 --- a/subpackages/mine/auth/auth.js +++ b/subpackages/mine/auth/auth.js @@ -141,7 +141,7 @@ Page({ const idCardImageUrl = d.idCardImageUrl || d.idCardFrontImageUrl || ''; const idCardBackImageUrl = d.idCardBackImageUrl || ''; const passportImageUrl = d.passportPhotoUrl || d.passportImageUrl || ''; - const birthDate = d.birthDate || d.birthday || ''; + const birthDate = d.birthDate.split(' ')[0] || d.birthday || ''; const rawGender = d.gender != null ? String(d.gender) : ''; const genderIndex = (rawGender === '1' || rawGender === 'F' || rawGender === '女') ? 1 : 0; const ocrDone = Boolean(name || idCardNumber || passportImageUrl); @@ -318,7 +318,7 @@ Page({ return; } payload = { - authType: 0, + authType: 1, name, mobile, smsCode: verificationCode, @@ -337,7 +337,7 @@ Page({ return; } payload = { - authType: 1, + authType: 2, name, mobile, smsCode: verificationCode,