aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server-core/src/main')
-rw-r--r--juick-server-core/src/main/java/com/juick/service/EmailService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-server-core/src/main/java/com/juick/service/EmailService.java b/juick-server-core/src/main/java/com/juick/service/EmailService.java
index 369434e7..ac63f4da 100644
--- a/juick-server-core/src/main/java/com/juick/service/EmailService.java
+++ b/juick-server-core/src/main/java/com/juick/service/EmailService.java
@@ -25,7 +25,8 @@ import java.util.List;
public interface EmailService {
boolean verifyAddressByCode(Integer userId, String code);
boolean addVerificationCode(Integer userId, String account, String code);
+ boolean addEmail(Integer userId, String email);
boolean deleteEmail(Integer userId, String account);
boolean setNotificationsEmail(Integer userId, String account);
- List<String> getEmails(Integer userId);
+ List<String> getEmails(Integer userId, boolean active);
}