伪静态下搜索bug修复

feat/task1-c-wallet
gongfuxiang 2019-02-23 10:54:41 +08:00
parent 16d9635ea5
commit 4ab49e3bc6
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class Search extends Common
$this->params['screening_price_id'] = intval(input('screening_price_id', 0));
// 搜索关键字
$this->params['keywords'] = str_replace(['?'], '', trim(input('keywords')));
$this->params['keywords'] = str_replace(['?', ' ', '+', '-'], '', trim(input('keywords')));
// 排序方式
$this->params['order_by_field'] = input('order_by_field', 'default');