Commit e26e8717 authored by clone's avatar clone

bug

parent 49ea5477
...@@ -101,11 +101,11 @@ class Performance extends Basic ...@@ -101,11 +101,11 @@ class Performance extends Basic
{ {
header('Access-Control-Allow-Origin:*'); header('Access-Control-Allow-Origin:*');
$params = $this->params; $params = $this->params;
$params = array( /* $params = array(
"agent_id" => 6, "agent_id" => 6,
"start_time" => "2018-04-09", "start_time" => "2018-04-09",
"end_time" => "2018-04-12", "end_time" => "2018-04-12",
); );*/
try { try {
$result = $this->service_->storePerformance($params["agent_id"], $params["start_time"], $params["end_time"]); $result = $this->service_->storePerformance($params["agent_id"], $params["start_time"], $params["end_time"]);
return $this->response("200", "request success", $result); return $this->response("200", "request success", $result);
......
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