augushong
a09f7397cd
fix: 将文章默认类型从'1'更改为'3'
...
当创建文章未指定类型时,系统原默认设置为'1',现根据业务需求调整为'3'以匹配新的文章分类标准。
2026-05-01 20:37:38 +08:00
augushong
2f5846225e
fix(api): 修复创建文章500错误和更新文章数据覆盖问题
2026-05-01 16:17:00 +08:00
augushong
cbf9b21b96
feat(api): 增强文章API功能并更新文档
...
- 为文章创建和更新接口添加 `publish_time` 字段支持
- 升级 Markdown 解析器以支持表格扩展
- 增加数据库字段默认值设置,避免严格模式错误
- 禁止客户端设置 `create_time` 和 `update_time` 字段
- 更新 API 文档以反映上述更改
- 将临时文件和工具目录添加到 .gitignore
2026-04-30 12:17:50 +08:00
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