Explorar o código

Merge branch 'cygx_4.6' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai %!s(int64=3) %!d(string=hai) anos
pai
achega
02363251e8
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  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 {