|
@@ -431,9 +431,21 @@ func (this *SearchController) ListHomeArtAndChart() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- for k, _ := range chartList {
|
|
|
+ for k, v := range chartList {
|
|
|
chartList[k].IsNeedJump = true
|
|
|
chartList[k].Source = 2
|
|
|
+ if v.PtagName != "" {
|
|
|
+ chartList[k].CtagNamePc = v.PtagName
|
|
|
+ }
|
|
|
+ if v.CtagName != "" {
|
|
|
+ chartList[k].CtagNamePc += "," + v.CtagName
|
|
|
+ }
|
|
|
+ if v.PtagNameTwo != "" {
|
|
|
+ chartList[k].CtagNamePc += "," + v.PtagNameTwo
|
|
|
+ }
|
|
|
+ if v.CtagNameTwo != "" {
|
|
|
+ chartList[k].CtagNamePc += "," + v.CtagNameTwo
|
|
|
+ }
|
|
|
}
|
|
|
if len(chartList) == 0 {
|
|
|
chartList = make([]*models.HomeChartListResp, 0)
|