Commit 4a85e3ac authored by zhuwei's avatar zhuwei

bug

parent c5d65b66
......@@ -547,7 +547,6 @@ class Performance extends Basic
} else {
//return $this->response("200", "success", $result["date"]);
return $this->response("200", "success", [ "date" => $result["date"] , "total" => $result["total"] ]);
}
}
......
......@@ -448,13 +448,13 @@ class User extends Basic
}
$model = new AAgents();
$result = $model->searchAgentsByKeyword("id,name,phone", [ "id" => $params["agent_id"]]);
// $model = new AAgents();
/* $result = $model->searchAgentsByKeyword("id,name,phone", [ "id" => $params["agent_id"]]);
$call = new CallPhoneService();
$gresult = $call->getBindNum($user_res['user_phone'],$result[0]['phone']);
$gresult = $call->getBindNum($user_res['user_phone'],$result[0]['phone']);*/
// 判断当天被拨打是否超过5次
$clientService = new ClientService();
if (!$clientService->dialTotal($user_res[0]['id']) && $gresult==0) {
if (!$clientService->dialTotal($user_res[0]['id'])) {
return $this->response("201", "当天被拨打超过5次", [ 'user_id' => $user_res[0]['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