瀏覽代碼

no message

zhangchuanxing 1 月之前
父節點
當前提交
da59915245
共有 1 個文件被更改,包括 2 次插入2 次删除
  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)
 		}
 	}