mirror of https://github.com/certd/certd
chore:
parent
cb86151deb
commit
0db5381a8b
|
@ -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发邮件
|
||||
return await this.sendByPlus(email);
|
||||
}
|
||||
throw new Error('email settings 还未设置');
|
||||
throw new Error('邮件服务器还未设置');
|
||||
}
|
||||
|
||||
if (emailConf.usePlus && isPlus()) {
|
||||
|
|
Loading…
Reference in New Issue