Commit ae5d653d authored by zw's avatar zw

bug

parent 93a1ccf7
......@@ -31,11 +31,11 @@ class Statement extends Basic
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
$params = array(
/*$params = array(
"agent_id" => 715,
"time_start" => date("Y-m-d", time()),
"time_end" => date("Y-m-d", time()) . " 23:59:59",
);
);*/
if (!isset($params["agent_id"]) || !isset($params["time_start"]) || !isset($params["time_end"])) {
return $this->response("101", "请求参数错误");
}
......
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