Commit 80834624 authored by hujun's avatar hujun

去除调试

parent b2bee985
......@@ -259,7 +259,7 @@ class Agent extends Basic
public function updateStatus()
{
$data = $this->request->param();
$ids = 5740;
$ids = $data['ids'];
//排除超级管理员
if (is_array($ids)) {
if (in_array(1, $ids)) {
......@@ -292,7 +292,7 @@ class Agent extends Basic
if (!empty($agent_phone['data']) && $agent_phone['status'] != 'fail') {
$call = new CallPhoneService();
foreach ($agent_phone as $k=>$v) {
foreach ($agent_phone['data'] as $k=>$v) {
$call->agentsUnBind($v['phone_a'], $v['phone_b'], $v['phone_x'], 0);
}
}
......
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