diff --git a/src/main/java/site/billbill/apiserver/api/borrowPosts/service/PostsService.java b/src/main/java/site/billbill/apiserver/api/borrowPosts/service/PostsService.java index 4899bc8..27f52a6 100644 --- a/src/main/java/site/billbill/apiserver/api/borrowPosts/service/PostsService.java +++ b/src/main/java/site/billbill/apiserver/api/borrowPosts/service/PostsService.java @@ -7,21 +7,22 @@ import java.util.List; public interface PostsService { - PostsResponse.UploadResponse uploadPostService(PostsRequest.UploadRequest request,String userId); + PostsResponse.UploadResponse uploadPostService(PostsRequest.UploadRequest request, String userId); PostsResponse.ViewAllResultResponse ViewAllPostService(String category, int page, Sort.Direction direction, String orderType); - PostsResponse.ViewPostResponse ViewPostService(String postId,String userId); + PostsResponse.ViewPostResponse ViewPostService(String postId, String userId); - String deletePostService(String postId,String userId); + String deletePostService(String postId, String userId); - String UpdatePostService(String postId,String userId,PostsRequest.UploadRequest request); + String UpdatePostService(String postId, String userId, PostsRequest.UploadRequest request); - PostsResponse.ViewAllResultResponse ViewSearchPostService(String userId,String category, int page, Sort.Direction direction, String orderType,String keyword,boolean state); + PostsResponse.ViewAllResultResponse ViewSearchPostService(String userId, String category, int page, Sort.Direction direction, String orderType, String keyword, boolean state); PostsResponse.saveSearchListResponse findSearchService(String userId); - PostsResponse.ReviewIdResponse DoReviewPostService(String postId,String userId,PostsRequest.ReviewRequest request); + PostsResponse.ReviewIdResponse DoReviewPostService(String postId, String userId, PostsRequest.ReviewRequest request); + List findRecommandService(); PostsResponse.NoRentalPeriodsResponse ViewNoRentalPeriodsService(String userId, String postId);