pagesize
This commit is contained in:
		@@ -41,7 +41,7 @@ var SearchItems = &graphql.Field{
 | 
			
		||||
		var searchs []Search
 | 
			
		||||
 | 
			
		||||
		// 发送 GET 请求
 | 
			
		||||
		resp, err := http.Get(fmt.Sprintf("http://localhost:6005/api/get_search/hot?page=%d", p.Args["first"]))
 | 
			
		||||
		resp, err := http.Get(fmt.Sprintf("http://localhost:6005/api/get_search/hot?pagesize=%d", p.Args["first"]))
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			log.Fatalf("Failed to fetch data: %v", err)
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user