Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ CAPTCHA_EXPIRES_IN_S=300
CAPTCHA_CODE_LENGTH=6

## SMS
SMS_PROVIDER=aliyun
ALIYUN_SMS_KEY_ID=xxxx
ALIYUN_SMS_KEY_SECRET=xxxx
VOLCENGINE_SMS_ACCOUNT=xxxx
VOLCENGINE_SMS_ACCESS_KEY_ID=xxxx
VOLCENGINE_SMS_SECRET_KEY=xxxx

## LOCK
MAX_LOGIN_ATTEMPTS=5
Expand Down
2 changes: 1 addition & 1 deletion src/sms/sms.service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import SMSClient from '@alicloud/sms-sdk';
import { Injectable, InternalServerErrorException } from '@nestjs/common';
import sms from '@volcengine/openapi/lib/services/sms';
import * as sms from '@volcengine/openapi/lib/services/sms';

import * as config from 'src/config';

Expand Down
Loading