mirror of
https://github.com/schroinerxy/cloud-mail.git
synced 2026-06-22 03:45:52 +08:00
新增支持API添加用户,查询邮件
This commit is contained in:
@@ -20,10 +20,15 @@ const init = {
|
||||
await this.v1_4DB(c);
|
||||
await this.v1_5DB(c);
|
||||
await this.v1_6DB(c);
|
||||
await this.v1_7DB(c);
|
||||
await settingService.refresh(c);
|
||||
return c.text(t('initSuccess'));
|
||||
},
|
||||
|
||||
async v1_7DB(c) {
|
||||
c.env.db.prepare(`ALTER TABLE setting ADD COLUMN login_domain INTEGER NOT NULL DEFAULT 0;`).run();
|
||||
},
|
||||
|
||||
async v1_6DB(c) {
|
||||
|
||||
const noticeContent = '<div style="color: teal;margin-bottom: 5px;">欢迎使用 Cloud Mail 🎉 </div >\n' +
|
||||
|
||||
Reference in New Issue
Block a user