新增显示所有邮箱邮件

This commit is contained in:
eoao
2025-12-07 22:08:00 +08:00
parent 70923fee59
commit dcd9e9c95f
21 changed files with 184 additions and 48 deletions

View File

@@ -25,10 +25,19 @@ const init = {
await this.v2_3DB(c);
await this.v2_4DB(c);
await this.v2_5DB(c);
await this.v2_6DB(c);
await settingService.refresh(c);
return c.text(t('initSuccess'));
},
async v2_6DB(c) {
try {
await c.env.db.prepare(`ALTER TABLE account ADD COLUMN all_receive INTEGER NOT NULL DEFAULT 0;`).run();
} catch (e) {
console.error(e)
}
},
async v2_5DB(c) {
try {