mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
perf: 短信验证码支持腾讯云
This commit is contained in:
@@ -83,7 +83,7 @@ export class CodeService {
|
||||
}
|
||||
const smsType = sysSettings.sms.type;
|
||||
const smsConfig = sysSettings.sms.config;
|
||||
const sender: ISmsService = SmsServiceFactory.createSmsService(smsType);
|
||||
const sender: ISmsService = await SmsServiceFactory.createSmsService(smsType);
|
||||
const accessGetter = new AccessSysGetter(this.accessService);
|
||||
sender.setCtx({
|
||||
accessService: accessGetter,
|
||||
|
||||
Reference in New Issue
Block a user