Commit ada30acd authored by hujun's avatar hujun

23:59:59

parent 931b0153
...@@ -98,8 +98,8 @@ class Remark extends Basic ...@@ -98,8 +98,8 @@ class Remark extends Basic
if ($site_id == "10001" && ($this->params['agent_id'] > 0 || !empty($this->params["content"])) && $is_today && empty($this->params['user_id'])) { if ($site_id == "10001" && ($this->params['agent_id'] > 0 || !empty($this->params["content"])) && $is_today && empty($this->params['user_id'])) {
$searchService = new SearchService(); $searchService = new SearchService();
$this->params['search_content'] = $this->params['content']; $this->params['search_content'] = $this->params['content'];
$this->params['start_time'] = strtotime($this->params['start_date']); $this->params['start_time'] = strtotime($this->params['start_date'] . ' 00:00:00');
$this->params['end_time'] = strtotime($this->params['end_date']); $this->params['end_time'] = strtotime($this->params['end_date']. ' 23:59:59');
$search_result = $searchService->searchByKeyword($this->params, $this->params['pageNo'], $this->params['pageSize'], $this->params['agent_id']); $search_result = $searchService->searchByKeyword($this->params, $this->params['pageNo'], $this->params['pageSize'], $this->params['agent_id']);
$search_result = json_decode($search_result, true); $search_result = json_decode($search_result, true);
$result = $search_result["result"]["items"]; $result = $search_result["result"]["items"];
......
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