中文汉化
Deploy to Staging / deploy (push) Has been cancelled
Conflict detector / main (push) Has been cancelled
Lint Backend / lint-backend (push) Has been cancelled
Playwright Tests / changes (push) Has been cancelled
Test Backend / test-backend (push) Has been cancelled
Test Docker Compose / test-docker-compose (push) Has been cancelled
Playwright Tests / test-playwright (1, 4) (push) Has been cancelled
Playwright Tests / test-playwright (2, 4) (push) Has been cancelled
Playwright Tests / test-playwright (3, 4) (push) Has been cancelled
Playwright Tests / test-playwright (4, 4) (push) Has been cancelled
Playwright Tests / merge-playwright-reports (push) Has been cancelled
Playwright Tests / alls-green-playwright (push) Has been cancelled
Issue Manager / issue-manager (push) Has been cancelled

This commit is contained in:
z66
2025-12-18 09:40:41 +08:00
parent 6a91475bf6
commit db867dcbe5
41 changed files with 671 additions and 666 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ router = APIRouter(prefix="/utils", tags=["utils"])
)
def test_email(email_to: EmailStr) -> Message:
"""
Test emails.
测试邮件发送。
"""
email_data = generate_test_email(email_to=email_to)
send_email(
@@ -23,7 +23,7 @@ def test_email(email_to: EmailStr) -> Message:
subject=email_data.subject,
html_content=email_data.html_content,
)
return Message(message="Test email sent")
return Message(message="测试邮件已发送")
@router.get("/health-check/")