Commit 4f446c98 authored by clone's avatar clone

bug

parent 064fa40d
......@@ -37,12 +37,12 @@ class Performance extends Basic
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
$params = array(
/* $params = array(
"agent_id" => 10013,
"type" => 1, //1表示个人业绩排行 2门店 3区域
"end_day" => "",
"start_day" =>""
);
);*/
if (!isset($params["agent_id"]) || !isset($params["type"])) {
return $this->response("101", "请求参数错误");
}
......@@ -69,13 +69,13 @@ class Performance extends Basic
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
$params = array(
/* $params = array(
"agent_id" => 10013,
"start_time" => "2018-04-11",
"end_time" => "2018-04-11",
"is_case" => 2,//1经纪人 2案场
"house_id" => 0
);
);*/
if (!isset($params["agent_id"]) || !isset($params["start_time"]) || !isset($params["end_time"] )|| !isset($params["is_case"] )) {
return $this->response("101", "请求参数错误");
}
......@@ -123,14 +123,14 @@ class Performance extends Basic
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
$params = array(
/* $params = array(
"agent_id" => 10013,
"start_time" => "2018-03-13",
"end_time" => "2018-04-10",
"is_case" => 2,//1经纪人 2案场
"house_id" => 0,
"type" => 1 // 1带看 2进场 3收款 4成交报告
);
);*/
if (!isset($params["agent_id"]) || !isset($params["start_time"]) || !isset($params["end_time"]) || !isset($params["type"])) {
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