|
@@ -814,6 +814,7 @@ func (this *UserController) TableDetail() {
|
|
|
mapAricleId[v.ArticleId] = v.ArticleId
|
|
|
}
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
articleIdArr = append(articleIdArr, v.ArticleId)
|
|
|
}
|
|
|
articleIds = strings.TrimRight(articleIds, ",")
|
|
@@ -1129,6 +1130,7 @@ func (this *UserController) TableDetail() {
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 12 { //收藏的专栏文章
|
|
@@ -1153,6 +1155,7 @@ func (this *UserController) TableDetail() {
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 13 { //关注的专栏作者
|
|
@@ -1675,6 +1678,7 @@ func (this *UserController) InteractionRelevant() {
|
|
|
if len(resp.List) > 0 {
|
|
|
for k, v := range resp.List {
|
|
|
resp.List[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ resp.List[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
if v.ArticleId >= utils.SummaryArticleId {
|
|
|
resp.List[k].ArticleType = 1
|
|
|
} else {
|
|
@@ -2819,6 +2823,7 @@ func (this *UserController) CompanyTableDetail() {
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 12 { //收藏的专栏文章
|
|
@@ -2840,6 +2845,7 @@ func (this *UserController) CompanyTableDetail() {
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 13 { //关注的专栏作者
|
|
@@ -2861,6 +2867,7 @@ func (this *UserController) CompanyTableDetail() {
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -4014,6 +4021,7 @@ func (this *UserController) CompanyList() {
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 12 { //收藏的专栏文章
|
|
@@ -4035,6 +4043,7 @@ func (this *UserController) CompanyList() {
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
}
|
|
|
}
|
|
|
} else if source == 13 { //关注的专栏作者
|
|
@@ -4056,6 +4065,7 @@ func (this *UserController) CompanyList() {
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
list[k].RegisterPlatform = cygxService.GetArticleSourcePlatform(v.SourcePlatform)
|
|
|
+ list[k].RegisterPlatformText = cygxService.GetArticleSourcePlatformText(v.RegisterPlatform)
|
|
|
}
|
|
|
}
|
|
|
}
|