diff options
Diffstat (limited to 'juick-common')
-rw-r--r-- | juick-common/src/main/java/com/juick/service/MessagesService.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/service/MessagesService.java b/juick-common/src/main/java/com/juick/service/MessagesService.java index 341175dd..2dce2806 100644 --- a/juick-common/src/main/java/com/juick/service/MessagesService.java +++ b/juick-common/src/main/java/com/juick/service/MessagesService.java @@ -33,7 +33,13 @@ public interface MessagesService { int getReplyIDIncrement(int mid); - boolean recommendMessage(int mid, int vuid); + enum RecommendStatus { + Error, + Added, + Deleted + } + + RecommendStatus recommendMessage(int mid, int vuid); boolean canViewThread(int mid, int uid); |