Commit 7977ee7d authored by zhuwei's avatar zhuwei

1

parent c7392254
...@@ -361,10 +361,11 @@ class UserLogService ...@@ -361,10 +361,11 @@ class UserLogService
{ {
#当天有约带看的客户 0:不显示 1:显示 #当天有约带看的客户 0:不显示 1:显示
$s_user_call = new UserCallStintService(); $s_user_call = new UserCallStintService();
$is_user_report = $s_user_call->isUserReport($user_id); date("Y-m-d H:i:s", strtotime("-1 hour")); $is_user_report = $s_user_call->isUserReport($user_id);
//3.3.9 如果有约带看 同时在约带看时间后2小时之前的 //3.3.9 如果有约带看 预计到场时间的前1小时和后1小时,除了提交约带看的经纪人和客方,其他人都无法联系客户(包括关联客户)!
$predict_see_time = strtotime ("+2 hour", strtotime($is_user_report[0]['predict_see_time'])); $front_see_time = strtotime ("-1 hour", strtotime($is_user_report[0]['predict_see_time']));
if ($is_user_report && (time() < $predict_see_time)) { $behind_see_time = strtotime ("+1 hour", strtotime($is_user_report[0]['predict_see_time']));
if ($is_user_report && (time() < $behind_see_time &&(time() > $front_see_time))) {
big_log('有约带看'); big_log('有约带看');
$res = $this->isPhoneButtonShowA($user_id, $agent_id, $is_vip, $result_user_phone, $result_agent_id); $res = $this->isPhoneButtonShowA($user_id, $agent_id, $is_vip, $result_user_phone, $result_agent_id);
}else{ }else{
......
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