feat: update config

This commit is contained in:
Tim
2025-06-30 18:23:25 +08:00
parent c996e579ca
commit 0d3eb99fd2
2 changed files with 21 additions and 19 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", "cjt807916@gmail.com"); // todo(tim): use config
body.put("from", "openisle <noreply@chenjiating.com>"); // todo(tim): use config
HttpEntity<Map<String, String>> entity = new HttpEntity<>(body, headers);
restTemplate.exchange(url, HttpMethod.POST, entity, String.class);