Commit Graph

2 Commits

Author SHA1 Message Date
e33f02c84d feat: Enhance news information query with full-text keyword search support 2026-07-20 15:43:45 +08:00
c1a7aa3532 feat: Add news information management module with API and database support
- Introduced new API endpoints for querying and managing news information in the CMS.
- Implemented data model for NewsInfo and NewsInfoQuery with validation.
- Created NewsInfoMapper for database interactions and corresponding XML mappings.
- Developed INewsInfoService interface and its implementation for business logic.
- Added RichTextSanitizer utility for cleaning HTML content to prevent XSS attacks.
- Created unit tests for RichTextSanitizer to ensure proper functionality.
- Updated database schema with news_info table and necessary fields, including status and module.
- Added migration scripts for setting up the news information module in the database.
- Integrated jsoup library for HTML sanitization.
2026-07-20 14:54:15 +08:00