1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-14 20:41:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

查询所有分类后端完成

This commit is contained in:
2022-04-02 20:04:48 +08:00
parent 3320d7a90a
commit 60b76089e0
7 changed files with 89 additions and 43 deletions

View File

@@ -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();
}