mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-23 22:50:51 +08:00
feat: update config
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user