|
@@ -137,12 +137,14 @@ public class ArticleController extends BaseController {
|
|
|
List<BaseLink> data = articleService.getArticleLabels().getData();
|
|
|
List<ImageLink> Ads = articleService.getLastestInfoAds().getData();
|
|
|
List<Article> articles=articleService.getInfoById(id);
|
|
|
+ String relatedLabels = articleService.relatedLabel(id);
|
|
|
model.addAttribute("articles",articles);
|
|
|
model.addAttribute("ads", Ads);
|
|
|
model.addAttribute("labels",data);
|
|
|
model.addAttribute("article", article);
|
|
|
model.addAttribute("articleType", typeList);
|
|
|
model.addAttribute("articleId", id);
|
|
|
+ model.addAttribute("relatedLabels", relatedLabels);
|
|
|
model.addAttribute("typeId", (article!=null ? article.getTypeId() : 0));
|
|
|
model.addAttribute("labelId", 0);
|
|
|
return ARTICLE_DETAIL_PATH;
|