xingzai 3 жил өмнө
parent
commit
ab3068f298

+ 1 - 0
controllers/article.go

@@ -313,6 +313,7 @@ Loop:
 			detail.SellerName = sellerItemQy.RealName
 		}
 	}
+	detail.HttpUrl = "https://vmp.hzinsights.com/v2/articles/" + strconv.Itoa(articleId)
 	resp := new(models.ArticleDetailResp)
 	resp.HasPermission = hasPermission
 	resp.HaveResearch = haveResearch

+ 1 - 0
models/article.go

@@ -137,6 +137,7 @@ type ArticleDetail struct {
 	IndustrialAndSubjectIds string `description:"文章关联产业和标的的ID字符串"`
 	IndustrialManagementId  int    `description:"文章关联产业ID"`
 	SellerList              []*SellerRep
+	HttpUrl                 string `description:"文章链接跳转地址"`
 }
 
 type ArticleDetailFileLink struct {