Эх сурвалжийг харах

Merge branch 'master' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 жил өмнө
parent
commit
8d3ececa42
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      controllers/user.go

+ 3 - 0
controllers/user.go

@@ -643,6 +643,9 @@ func (this *UserController) InterviewApplyList() {
 	lenList := len(list)
 	for i := 0; i < lenList; i++ {
 		item := list[i]
+		if articleMap[item.ArticleId] == nil {
+			continue
+		}
 		article := articleMap[item.ArticleId]
 		bodySub, _ := services.GetReportContentTextSub(article.Body)
 		list[i].Title = article.Title