Commit 13399556 authored by zhuwei's avatar zhuwei

电话按钮

parent 9d5037cd
......@@ -164,6 +164,9 @@ class UserLogService
$s_index_user = new UserService();
$data['user_bind_list'] = $s_index_user->userBindInfo($user_id);
#拨打电话按钮是否显示 0:显示 1:不显示
$data['is_phone_button_show'] = $this->isPhoneButtonShow($user_id,$user_arr['user_phone'],$user_arr["agent_id"],$agent_id,$user_arr['vip']);
return ["code" => 200, "data" => $data];
}
......@@ -325,7 +328,7 @@ class UserLogService
OR
(($is_vip == 1) and ($examine_vip == 0))
OR
(($is_outstrip_twenty_four_hours == 0) and (($is_user_agent_boss == 0) or ($result_agent_id == $agent_id) or ($called == 0)))
(($is_outpace_call_num == 1 ) and ($is_outstrip_twenty_four_hours == 0) and (($is_user_agent_boss == 0) or ($result_agent_id == $agent_id) or ($called == 0)))
OR
(($is_outpace_call_num == 1 ) and (($is_user_agent_boss == 0) or ($result_agent_id == $agent_id) or ($called == 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