新增支持API添加用户,查询邮件

This commit is contained in:
eoao
2025-08-10 11:37:46 +08:00
parent 021c3b23f5
commit ba6b02635b
38 changed files with 894 additions and 713 deletions
+5
View File
@@ -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' +