소스 검색

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

chendeben 6 년 전
부모
커밋
47882640c2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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=[