Commit 0ad0a410 authored by hujun's avatar hujun

array

parent ec2ee2cf
......@@ -622,10 +622,13 @@ class UserLogService
// $redis_res = $redis->get($call_key);
$agent_data = $redis_cache->getRedisCache(2, $agent_id);
if(!$agent_data){
return 1;
if(empty($agent_data['phone_list'])){
$phone_list[] = $agent_data['phone'];
} else {
$phone_list = $agent_data['phone_list'];
array_push($phone_list, $agent_data['phone']);
}
$result = $call->checkBindRedis($agent_id, $agent_data['phone_list'], $user_phone);
$result = $call->checkBindRedis($agent_id, $phone_list, $user_phone);
if($result != ''){
$is_outpace_call_num = 0;
}
......
<script src='/resource/lib/js/require.min.js' data-main='/resource/js/main?version=201908071121665' charset='utf-8'></script>
<script src='/resource/lib/js/require.min.js' data-main='/resource/js/main?version=20190807112166115' charset='utf-8'></script>
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