Browse Source

no message

zhangchuanxing 1 month ago
parent
commit
da59915245
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/search.go

+ 2 - 2
controllers/search.go

@@ -318,9 +318,9 @@ func (this *MobileSearchController) BrowseHistoryList() {
 			continue
 		}
 		slicehotSearchList := strings.Split(v, "/")
-		for range slicehotSearchList {
+		for _, v2 := range slicehotSearchList {
 			item := new(models.KeyWord)
-			item.KeyWord = v
+			item.KeyWord = v2
 			resp.ListRecommend = append(resp.ListRecommend, item)
 		}
 	}