Commit a41ed954 authored by zhuwei's avatar zhuwei

bug

parent 93954ac1
......@@ -145,7 +145,7 @@ class OperationData extends Basic
$agentModel = new AAgents();
$res = $agentModel->getUserPhoneNum($field, $params);
$result_["call_number_total"] = isset($res['call_number_total']) ? $res['call_number_total'] : 0;
$result_["call_number_total"] = isset($res[0]['call_number_total']) ? $res[0]['call_number_total'] : 0;
$result[] = $result_;
}
return $this->response(200, 'success', $result);
......
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