Commit 06f73fb6 authored by clone's avatar clone

bug

parent 24e849f8
...@@ -152,12 +152,12 @@ class Performance extends Basic ...@@ -152,12 +152,12 @@ class Performance extends Basic
*/ */
public function storeOrAgentSort(){ public function storeOrAgentSort(){
$params = $this->params; $params = $this->params;
$params = array( /* $params = array(
"agent_id" => 1, "agent_id" => 1,
"start_time" => "2018-03-10", "start_time" => "2018-03-10",
"end_time" => "2018-03-23", "end_time" => "2018-03-23",
); );*/
if (!isset($params["agent_id"]) || !isset($params["start_time"]) || !isset($params["end_time"])) { if (!isset($params["agent_id"]) || !isset($params["start_time"]) || !isset($params["end_time"])) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
......
...@@ -168,7 +168,7 @@ class Report extends Basic ...@@ -168,7 +168,7 @@ class Report extends Basic
$field_ = "id,report_id,agent_id,user_type,decision_maker,industry_type,area_requirement,price_requirement,province $field_ = "id,report_id,agent_id,user_type,decision_maker,industry_type,area_requirement,price_requirement,province
,city,district,business_area,other_area,explain,explain_img,create_time,update_time"; ,city,district,business_area,other_area,explain,explain_img,create_time,update_time";
$order_ = "crate_time desc"; $order_ = "create_time desc";
$where_ = []; $where_ = [];
$where_["report_id"] = $params["report_id"]; $where_["report_id"] = $params["report_id"];
......
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