feat: update config

This commit is contained in:
Tim
2025-06-30 17:48:11 +08:00
parent b0c876417d
commit aa6d32e7dd
4 changed files with 18 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ public class EmailService {
body.put("to", to);
body.put("subject", subject);
body.put("text", text);
body.put("from", "demo@openisle.example");
body.put("from", "cjt807916@gmail.com"); // todo(tim): use config
HttpEntity<Map<String, String>> entity = new HttpEntity<>(body, headers);
restTemplate.exchange(url, HttpMethod.POST, entity, String.class);