Commit 2a17daca authored by hujun's avatar hujun

trim

parent cbb61f5b
......@@ -202,7 +202,8 @@ class Remark extends Basic
$where['agent_id'] = (int)$this->params['agent_id'];
}
if (!empty($this->params['content'])) {
$where['content'] = $this->params['content'];
$content = trim($this->params['content']);
$where['content'] = ['LIKE', "%{$content}%"];
}
if (!empty($this->params['remark_store_id'])) {
$where['store_id'] = (int)$this->params['remark_store_id'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment