feat: AI verification code recognition settings

This commit is contained in:
eoao
2026-05-10 02:17:42 +08:00
parent baa70a863c
commit 92e18ea683
8 changed files with 119 additions and 4 deletions

View File

@@ -133,6 +133,10 @@ const settingService = {
params.emailPrefixFilter = params.emailPrefixFilter + '';
}
if (Array.isArray(params.aiCodeFilter)) {
params.aiCodeFilter = params.aiCodeFilter + '';
}
params.resendTokens = JSON.stringify(resendTokens);
await orm(c).update(setting).set({ ...params }).returning().get();
await this.refresh(c);