作者 anyv
1 个管道 的构建 通过 耗费 0 秒

首页搜索

@@ -181,9 +181,12 @@ class IndexController extends WeChatBaseController @@ -181,9 +181,12 @@ class IndexController extends WeChatBaseController
181 */ 181 */
182 public function search_salesman_goods(){ 182 public function search_salesman_goods(){
183 183
184 - dump($_POST['book_name']);die;  
185 - return $this -> fetch();  
186 - 184 + if($this -> request -> isPost()){
  185 + dump($_POST['book_name']);die;
  186 + }else{
  187 + return $this -> fetch();
  188 + }
  189 +
187 } 190 }
188 191
189 192