mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-14 20:41:38 +08:00
用户收藏列表后端完成
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package plus.bookshelf.Service.Service;
|
||||
|
||||
import plus.bookshelf.Common.Error.BusinessException;
|
||||
import plus.bookshelf.Dao.DO.BookDO;
|
||||
import plus.bookshelf.Service.Model.BookModel;
|
||||
|
||||
import java.util.List;
|
||||
@@ -64,6 +63,14 @@ public interface BookService {
|
||||
*/
|
||||
Boolean removeFavorites(Integer userId, Integer bookId) throws BusinessException;
|
||||
|
||||
/**
|
||||
* 获取用户收藏书籍列表
|
||||
* @param userId
|
||||
* @return
|
||||
* @throws BusinessException
|
||||
*/
|
||||
List<BookModel> getFavoritesList(Integer userId) throws BusinessException;
|
||||
|
||||
/**
|
||||
* 获取用户收藏状态
|
||||
* @param userId 用户id
|
||||
|
Reference in New Issue
Block a user