1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-10-07 00:15:15 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
Files
bookshelfplus/bookshelfplus/src/main/java/plus/bookshelf/Service/Service/CategoryService.java

23 lines
407 B
Java

package plus.bookshelf.Service.Service;
import plus.bookshelf.Service.Model.CategoryModel;
import java.util.List;
public interface CategoryService {
/**
* 通过分类Id获取分类
*
* @param id
* @return
*/
CategoryModel getCategoryById(Integer id);
/**
* 获取所有的分类列表
*
* @return
*/
List<CategoryModel> getAllCategorys();
}