From 95a608716cfd5f77fbd7975ea212c0603fe77af9 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 25 Mar 2026 10:35:09 +0800 Subject: [PATCH 1/6] fix limit --- src/web/routes/registration.py | 4 ++-- templates/index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/web/routes/registration.py b/src/web/routes/registration.py index b2cdcd5c..e6abc2d2 100644 --- a/src/web/routes/registration.py +++ b/src/web/routes/registration.py @@ -869,8 +869,8 @@ async def start_batch_registration( - interval_max: 最大间隔秒数 """ # 验证参数 - if request.count < 1 or request.count > 100: - raise HTTPException(status_code=400, detail="注册数量必须在 1-100 之间") + if request.count < 1 or request.count > 1000: + raise HTTPException(status_code=400, detail="注册数量必须在 1-1000 之间") try: EmailServiceType(request.email_service_type) diff --git a/templates/index.html b/templates/index.html index dc5efc19..ff135119 100644 --- a/templates/index.html +++ b/templates/index.html @@ -368,8 +368,8 @@

📝 注册设置

-
-
- - -
-
- -
-
- - -
-
+
+
+
+

Tempmail.lol

+
+
+
+ + +
+
+ +
+
+ + +
+
+
+ +
+
+

YYDS Mail

+
+
+
+ + +
+
+ + + 使用文档中的 `X-API-Key` 调用方式 +
+
+ + +
+
+ +
+
+ + +
+
+
+
diff --git a/templates/index.html b/templates/index.html index 1c940ab4..0cf09508 100644 --- a/templates/index.html +++ b/templates/index.html @@ -306,6 +306,7 @@

📝 注册设置

+ @@ -274,7 +275,21 @@

➕ 添加自定义邮箱服务

- + + - + +