feat(qa): 周报邮件新增测试/审核邮箱
build / build (push) Successful in 1m13s

测试发送只投递到该地址,不打扰主送与抄送名单;未填时退回主送首位。
This commit is contained in:
hermes
2026-10-26 16:06:17 +08:00
parent 1a9d1fff83
commit 23b19350cc
9 changed files with 49 additions and 10 deletions
+3
View File
@@ -7,6 +7,7 @@ export interface WeeklyMailSettings {
from: string
recipients: string[]
cc_recipients: string[]
review_address: string
weekday: number
hour: number
enabled: boolean
@@ -61,6 +62,7 @@ export function parseWeeklyMailSettings(value: unknown): WeeklyMailSettings {
from: str(v.from),
recipients: recipients as string[],
cc_recipients: cc as string[],
review_address: typeof v.review_address === 'string' ? v.review_address : '',
weekday,
hour,
enabled: v.enabled,
@@ -130,6 +132,7 @@ export async function saveWeeklyMailSettings(
from: form.from,
recipients: form.recipients,
cc_recipients: form.cc_recipients,
review_address: form.review_address,
weekday: form.weekday,
hour: form.hour,
enabled: form.enabled,