feat(manuscript): 稿件正文增加 content_format 格式标记

- cms_manuscript 新增 content_format(html/markdown/text),默认 html
- Manuscript 实体加 contentFormat;保存与修改时缺省按 html 落库,下游不再靠猜
- 迁移脚本幂等,并把明显是 markdown 的历史行标出来
This commit is contained in:
2026-10-22 14:37:34 +08:00
parent f5a89634c4
commit 1ae2ab580d
3 changed files with 57 additions and 0 deletions
@@ -32,6 +32,9 @@ public class Manuscript implements Serializable {
private String content;
@ApiModelProperty(value = "正文格式:html/markdown/text")
private String contentFormat;
private String cover;
@ApiModelProperty(value = "是否删除, 0否, 1是")