Commit f5dfbf4c authored by zhuwei's avatar zhuwei

bug

parent 9a9e74d6
...@@ -170,8 +170,10 @@ class Performance extends Basic ...@@ -170,8 +170,10 @@ class Performance extends Basic
if (!isset($params["agent_id"]) || !isset($params["start_time"]) || !isset($params["end_time"] )|| !isset($params["site_id"])) { if (!isset($params["agent_id"]) || !isset($params["start_time"]) || !isset($params["end_time"] )|| !isset($params["site_id"])) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
//城市选择
$site_id = $params["site_id"]? $params["site_id"]: $this->siteId;
try { try {
$result = $this->service_->storeSortByDistrictId($params["agent_id"], $params["is_store"], $params["start_time"], $params["end_time"]." 23:59:59",$params["site_id"]); $result = $this->service_->storeSortByDistrictId($params["agent_id"], $params["is_store"], $params["start_time"], $params["end_time"]." 23:59:59",$site_id);
return $this->response("200", "request success", $result); return $this->response("200", "request success", $result);
} catch (Exception $exception) { } catch (Exception $exception) {
......
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