...
|
...
|
@@ -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 == "" && item.ParagraphType != 2 {
|
|
|
if value == "" && item.ParagraphType == domain.ParagraphTypeNone {
|
|
|
continue
|
|
|
}
|
|
|
section := domain.ArticleSection{
|
...
|
...
|
|