diff --git a/application/index/controller/Search.php b/application/index/controller/Search.php index bb0efecc5..fe3ab1914 100755 --- a/application/index/controller/Search.php +++ b/application/index/controller/Search.php @@ -46,7 +46,7 @@ class Search extends Common $this->params['screening_price_id'] = intval(input('screening_price_id', 0)); // 搜索关键字 - $this->params['keywords'] = trim(input('keywords')); + $this->params['keywords'] = str_replace(['?'], '', trim(input('keywords'))); // 排序方式 $this->params['order_by_field'] = input('order_by_field', 'default'); diff --git a/application/plugins/view/commonrightnavigation/index/content.html b/application/plugins/view/commonrightnavigation/index/content.html index 398b87843..7f5590bac 100755 --- a/application/plugins/view/commonrightnavigation/index/content.html +++ b/application/plugins/view/commonrightnavigation/index/content.html @@ -150,7 +150,7 @@