作者 yangfu

Merge branch 'dev' into test

... ... @@ -327,7 +327,7 @@ func (l *SystemUpdateArticleLogic) getSections(req *types.SystemArticleUpdateReq
lo.ForEach(req.Section, func(item types.ArticleSection, index int) {
strList := strings.Split(item.Content, "\n")
for key, value := range strList {
if value == "" {
if value == "" && item.ParagraphType != 2 {
continue
}
section := domain.ArticleSection{
... ...