mirror of
https://github.com/certd/certd.git
synced 2026-05-16 05:07:32 +08:00
chore:
This commit is contained in:
@@ -49,14 +49,7 @@ export class EmailService implements IEmailService {
|
||||
* receivers: string[];
|
||||
*/
|
||||
|
||||
await this.plusService.request({
|
||||
url: '/activation/emailSend',
|
||||
data: {
|
||||
subject: email.subject,
|
||||
text: email.content,
|
||||
to: email.receivers,
|
||||
},
|
||||
});
|
||||
await this.plusService.sendEmail(email);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,7 +32,7 @@ export class CommonDnsProvider implements IDnsProvider {
|
||||
|
||||
await this.plusService.register();
|
||||
|
||||
const res = await this.plusService.requestWithoutSign({
|
||||
const res = await this.plusService.requestWithToken({
|
||||
url: '/activation/certd/cname/recordCreate',
|
||||
data: {
|
||||
subjectId: this.plusService.getSubjectId(),
|
||||
@@ -45,7 +45,7 @@ export class CommonDnsProvider implements IDnsProvider {
|
||||
return res;
|
||||
}
|
||||
async removeRecord(options: RemoveRecordOptions<any>) {
|
||||
const res = await this.plusService.requestWithoutSign({
|
||||
const res = await this.plusService.requestWithToken({
|
||||
url: '/activation/certd/cname/recordRemove',
|
||||
data: {
|
||||
subjectId: this.plusService.getSubjectId(),
|
||||
|
||||
Reference in New Issue
Block a user