|
@@ -484,6 +484,9 @@ func (this *SearchController) ListHomeArtAndChart() {
|
|
|
if chartTotal > int(total) {
|
|
|
total = int64(chartTotal)
|
|
|
}
|
|
|
+ if listType == 1 {
|
|
|
+ total = total + int64(chartTotal)
|
|
|
+ }
|
|
|
page := paging.GetPaging(currentIndex, pageSize, int(total))
|
|
|
resp.Paging = page
|
|
|
resp.List = result
|