陈德本 7 лет назад
Родитель
Сommit
92f609a148
2 измененных файлов с 7 добавлено и 1 удалено
  1. 6 0
      .idea/vcs.xml
  2. 1 1
      hintData.php

+ 6 - 0
.idea/vcs.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+  </component>
+</project>

+ 1 - 1
hintData.php

@@ -148,7 +148,7 @@ function baidu($wds)
 function getRelatedKeywords($wd)
 {
     global $response, $result;
-    $searchUrl = "http://www.baidu.com/s?ie=UTF-8&wd=%s";
+    $searchUrl = "http://www.baidu.com/s?ie=UTF-8&rn=20&wd=%s";
 
     $url = sprintf($searchUrl, $wd);
     $rules = [