From 5dac312ba2315d35eb0400b5cf66c34226996185 Mon Sep 17 00:00:00 2001 From: tone <3341154833@qq.com> Date: Mon, 12 May 2025 10:22:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF=E9=AA=8C=E8=AF=81=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E6=88=90=E5=8A=9F=E8=BF=94=E5=9B=9Etrue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tone-page-server/src/verification/verification.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tone-page-server/src/verification/verification.service.ts b/tone-page-server/src/verification/verification.service.ts index 5eff5da..fa937a3 100644 --- a/tone-page-server/src/verification/verification.service.ts +++ b/tone-page-server/src/verification/verification.service.ts @@ -31,6 +31,7 @@ export class VerificationService { // await this.notificationService.sendSMS(phone, type, code); // 存储验证码 this.saveCode(key, code); + return true; } async sendEmailCode(email: string, type: 'login') { @@ -46,6 +47,7 @@ export class VerificationService { // 存储验证码 this.saveCode(key, code); + return true; } private saveCode(key: string, code: string) {