mirror of
https://github.com/beilunyang/moemail.git
synced 2026-09-05 07:16:39 +08:00
feat: Enhance email expiration options and update README
This commit is contained in:
+3
-2
@@ -1,10 +1,11 @@
|
||||
export interface ExpiryOption {
|
||||
label: string
|
||||
value: number // 过期时间(毫秒)
|
||||
value: number
|
||||
}
|
||||
|
||||
export const EXPIRY_OPTIONS: ExpiryOption[] = [
|
||||
{ label: '1小时', value: 1000 * 60 * 60 },
|
||||
{ label: '24小时', value: 1000 * 60 * 60 * 24 },
|
||||
{ label: '3天', value: 1000 * 60 * 60 * 24 * 3 }
|
||||
{ label: '3天', value: 1000 * 60 * 60 * 24 * 3 },
|
||||
{ label: '永久', value: 0 }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user