Commit Graph

5 Commits

Author SHA1 Message Date
augushong
6f332467df feat(content-type): add content_type field, markdown auto-conversion, and API doc updates
- Add content_type column to ul_post via migration
- Install league/commonmark for markdown->HTML conversion
- Add Post model accessors/setters for content_type and content
- Update API Articles controller save/update with content_type support
- Update API docs with content_type parameter and markdown example

Closes content-type-support plan
2026-04-29 20:46:44 +08:00
augushong
bb08dee91d feat(api): 新增分类查询接口(列表+详情,支持树形结构) 2026-04-28 21:01:27 +08:00
augushong
004f4454f4 fix: 移除未使用的 import,修正 PSR-12 空行 2026-04-27 00:45:26 +08:00
augushong
dc116a1c77 feat(api): add article/attachment API endpoints, admin management, and API docs
- Articles API: list/detail/create/update/delete with source-based permission control
- Attachments API: upload/list/delete with source-based permission control
- ApiKeyInfo API: query current key permissions
- Admin ApiKey management: generate/regenerate/toggle/permission settings with layui UI
- Frontend API documentation page with complete interface reference
2026-04-27 00:38:57 +08:00
augushong
3bc46a4b9c 初始化项目 2020-08-07 23:49:50 +08:00