mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore:
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
CREATE TABLE "pi_notification" ("id" bigint PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY NOT NULL, "user_id" bigint NOT NULL, "name" varchar(100) NOT NULL, "type" varchar(100) NOT NULL, "setting" text, "create_time" timestamp NOT NULL DEFAULT (CURRENT_TIMESTAMP), "update_time" timestamp NOT NULL DEFAULT (CURRENT_TIMESTAMP));
|
||||||
@@ -68,7 +68,7 @@ export class EmailService implements IEmailService {
|
|||||||
//自动使用plus发邮件
|
//自动使用plus发邮件
|
||||||
return await this.sendByPlus(email);
|
return await this.sendByPlus(email);
|
||||||
}
|
}
|
||||||
throw new Error('email settings 还未设置');
|
throw new Error('邮件服务器还未设置');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (emailConf.usePlus && isPlus()) {
|
if (emailConf.usePlus && isPlus()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user