|
@@ -878,6 +878,11 @@ func (this *UserController) TableDetail() {
|
|
|
} else {
|
|
|
list[k].PermissionName = mapPerssionName[v.ArticleId]
|
|
|
}
|
|
|
+ if classType == 1 {
|
|
|
+ list[k].HttpUrl = utils.CYGX_WEB_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ } else {
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -978,6 +983,11 @@ func (this *UserController) TableDetail() {
|
|
|
} else {
|
|
|
list[k].ArticleType = 2
|
|
|
}
|
|
|
+ if classType == 1 {
|
|
|
+ list[k].HttpUrl = utils.CYGX_WEB_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ } else {
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
} else if source == 4 {
|
|
@@ -1169,6 +1179,7 @@ func (this *UserController) TableDetail() {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/column/detail/" + strconv.Itoa(v.ArticleId)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 12 { //收藏的专栏文章
|
|
@@ -1194,6 +1205,7 @@ func (this *UserController) TableDetail() {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/column/detail/" + strconv.Itoa(v.ArticleId)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 13 { //关注的专栏作者
|
|
@@ -2589,6 +2601,14 @@ func (this *UserController) CompanyTableDetail() {
|
|
|
br.ErrMsg = "获取用户阅读记录,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+ for k, v := range list {
|
|
|
+ if classType == 1 {
|
|
|
+ list[k].HttpUrl = utils.CYGX_WEB_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ } else {
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ }
|
|
|
+ }
|
|
|
} else if source == 2 {
|
|
|
|
|
|
if isMeeting == "1" {
|
|
@@ -2713,6 +2733,11 @@ func (this *UserController) CompanyTableDetail() {
|
|
|
} else {
|
|
|
list[k].ArticleType = 2
|
|
|
}
|
|
|
+ if classType == 1 {
|
|
|
+ list[k].HttpUrl = utils.CYGX_WEB_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ } else {
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
} else if source == 4 {
|
|
@@ -2983,6 +3008,7 @@ func (this *UserController) CompanyTableDetail() {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/column/detail/" + strconv.Itoa(v.ArticleId)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 12 { //收藏的专栏文章
|
|
@@ -3005,6 +3031,7 @@ func (this *UserController) CompanyTableDetail() {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/column/detail/" + strconv.Itoa(v.ArticleId)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 13 { //关注的专栏作者
|
|
@@ -3803,6 +3830,13 @@ func (this *UserController) CompanyList() {
|
|
|
br.ErrMsg = "获取用户阅读记录,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ for k, v := range list {
|
|
|
+ if classType == 1 {
|
|
|
+ list[k].HttpUrl = utils.CYGX_WEB_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ } else {
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ }
|
|
|
+ }
|
|
|
} else if source == 2 {
|
|
|
|
|
|
if isMeeting == "1" {
|
|
@@ -3936,6 +3970,11 @@ func (this *UserController) CompanyList() {
|
|
|
list[k].ArticleType = 2
|
|
|
}
|
|
|
v.SellerName = sellNameMap[v.CompanyId]
|
|
|
+ if classType == 1 {
|
|
|
+ list[k].HttpUrl = utils.CYGX_WEB_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ } else {
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
} else if source == 4 {
|
|
@@ -4250,6 +4289,7 @@ func (this *UserController) CompanyList() {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/column/detail/" + strconv.Itoa(v.ArticleId)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 12 { //收藏的专栏文章
|
|
@@ -4272,6 +4312,7 @@ func (this *UserController) CompanyList() {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
+ list[k].HttpUrl = utils.CYGX_MFYX_URL + "/column/detail/" + strconv.Itoa(v.ArticleId)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 13 { //关注的专栏作者
|