mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-14 20:41:38 +08:00
查询所有分类后端完成
This commit is contained in:
@@ -2,6 +2,8 @@ package plus.bookshelf.Service.Service;
|
||||
|
||||
import plus.bookshelf.Service.Model.CategoryModel;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface CategoryService {
|
||||
/**
|
||||
* 通过分类Id获取分类
|
||||
@@ -10,4 +12,11 @@ public interface CategoryService {
|
||||
* @return
|
||||
*/
|
||||
CategoryModel getCategoryById(Integer id);
|
||||
|
||||
/**
|
||||
* 获取所有的分类列表
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
List<CategoryModel> getAllCategorys();
|
||||
}
|
||||
|
Reference in New Issue
Block a user