Commit 9cc6a1e1 authored by zhuwei's avatar zhuwei

优化

parent 064eb2dd
......@@ -210,6 +210,8 @@ class User extends Basic
$clientService = new ClientService();
$user_service = new UserService();
foreach ($return_user_list as $k => $v) {
/*判断是否纯房东 0:否 1:是 start*/
$is_single_homeowner = 0;
......@@ -224,9 +226,7 @@ class User extends Basic
$return_user_list[$k]['sign_call'] = $is_show ? 0 : 1;
//查询客户是否在保护期内
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$user_service = new UserService();
//查询客户是否在保护期内 0:保护期内 1:超过保护期
$is_outstrip_twenty_four_hours = $user_service->isUserProtect($v["user_id"]);
$return_user_list[$k]['is_outstrip_twenty_four_hours'] = $is_outstrip_twenty_four_hours;
......
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