作者 邓超

x

... ... @@ -138,7 +138,7 @@ class MailListV2 extends Base {
// 搜索标题
$keyword = app()->request('keyword');
if($keyword){
$where['subject.like'] = "%".addcslashes($keyword,"%'\"")."%";
$where['subject.like'] = "%%".addcslashes(str_replace('%','',$keyword),"'\"")."%%";
}
// 联系人
$address = app()->request('address');
... ...