Browse Source

no message

xingzai 3 years ago
parent
commit
ab3068f298
2 changed files with 2 additions and 0 deletions
  1. 1 0
      controllers/article.go
  2. 1 0
      models/article.go

+ 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 {