Selaa lähdekoodia

Merge branch 'master' of https://git.97admin.com:433/chendeben/taoqu

chendeben 6 vuotta sitten
vanhempi
sitoutus
47882640c2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      App/Api/Controller/Search.php

+ 1 - 1
App/Api/Controller/Search.php

@@ -12,7 +12,7 @@ class Search extends Controller
 {
     public function main()
     {
-        $kw = $this->getQuery()->string("args_0");
+        $kw = $this->getQuery()->string("kw")?:$this->getQuery()->string("args_0");
         $bids = $this->getQuery()->string("bids");
         $cid = $this->getQuery()->string("cid");
         $request=[