Commit Graph

3 Commits

Author SHA1 Message Date
Hanserwei
8fc5a3d250 feat(web): 新增博客首页文章、分类、标签及博客设置相关接口
- 新增ArticleController提供首页文章分页查询接口
- 实现ArticleService及其实现类,支持分页查询文章及其分类标签关联信息
- 扩展ArticleCategoryRelRepository和ArticleTagRelRepository,支持批量查询文章关联分类和标签
- 新增CategoryController及CategoryService,实现前台分类列表查询接口
- 新增TagController及TagService,实现前台标签列表查询接口
- 新增BlogSettingsController及BlogSettingsService,支持博客配置信息查询
- 添加相应的请求响应VO,包含文章、分类、标签及博客设置数据结构
- 移除无用的User模型代码,简化项目结构
2025-12-08 19:23:29 +08:00
Hanserwei
7380f783ee feat(admin): implement category management functionality
- Added AddCategoryReqVO for category creation with validation
- Created AdminCategoryController with endpoints for add, list, delete and select operations
- Implemented AdminCategoryService interface and its methods
- Added Category entity with JPA annotations and logical delete support
- Created CategoryRepository extending JpaRepository with custom query methods
- Added SQL table creation script for t_category with indexes and constraints
- Implemented PageResponse utility for handling paginated results
- Added FindCategoryPageListReqVO and FindCategoryPageListRspVO for pagination
- Included DeleteCategoryReqVO for category deletion requests
- Updated Jackson configuration to ignore unknown properties
- Added base page query model and user info response VO
- Fixed typo in response code enum for user not exist error
2025-11-30 22:09:49 +08:00
Hanserwei
d689a39a98 feat(project): initialize Spring Boot weblog project with Gradle modules 2025-11-26 19:29:21 +08:00