Commit f424a541 authored by hujun's avatar hujun

//

parent 0a459d11
...@@ -177,6 +177,10 @@ class Report extends Basic ...@@ -177,6 +177,10 @@ class Report extends Basic
$site_id = $this->siteId; $site_id = $this->siteId;
} }
$agents_data = $agentModel->getAgentInfo('id,level', $agents_old['phone'], ['site_id'=>$site_id]); $agents_data = $agentModel->getAgentInfo('id,level', $agents_old['phone'], ['site_id'=>$site_id]);
if (empty($agents_data)) {
return $this->response("200", "request null");
}
// if (isset($params["is_all"]) && $params["is_all"] == 1) { // if (isset($params["is_all"]) && $params["is_all"] == 1) {
$params["report_agent_id"] = $agents_data['id']; $params["report_agent_id"] = $agents_data['id'];
$check_type = 1; $check_type = 1;
......
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