Commit 0812d4d4 authored by clone's avatar clone

Merge branch '0416-v3.2.5' of https://gitee.com/zwyjjc/tl_estate into 0416-v3.2.5

parents a69e5d0d e8dd45a3
...@@ -86,7 +86,7 @@ class CallPhoneService ...@@ -86,7 +86,7 @@ class CallPhoneService
if (!empty($user_id)) { if (!empty($user_id)) {
$this->user_id = $user_id; $this->user_id = $user_id;
$user_data = $this->getUserData(); $user_data = $this->getUserDataV2();
if (empty($user_data['user_phone'])) { if (empty($user_data['user_phone'])) {
$result['status'] = 'fail'; $result['status'] = 'fail';
$result['msg'] = '没有用户信息'; $result['msg'] = '没有用户信息';
...@@ -250,7 +250,7 @@ class CallPhoneService ...@@ -250,7 +250,7 @@ class CallPhoneService
if (empty($phone_b)) { if (empty($phone_b)) {
if (!empty($user_id)) { if (!empty($user_id)) {
$this->user_id = $user_id; $this->user_id = $user_id;
$user_data = $this->getUserData(); $user_data = $this->getUserDataV2();
if (empty($user_data['user_phone'])) { if (empty($user_data['user_phone'])) {
$data['status'] = 'failed'; $data['status'] = 'failed';
$data['msg'] = '没有客户信息,可以忽略。'; $data['msg'] = '没有客户信息,可以忽略。';
...@@ -345,7 +345,7 @@ class CallPhoneService ...@@ -345,7 +345,7 @@ class CallPhoneService
if (empty($phone_b)) { if (empty($phone_b)) {
if (!empty($user_id)) { if (!empty($user_id)) {
$this->user_id = $user_id; $this->user_id = $user_id;
$user_data = $this->getUserData(); $user_data = $this->getUserDataV2();
if (empty($user_data['user_phone'])) { if (empty($user_data['user_phone'])) {
$data['status'] = 'fail'; $data['status'] = 'fail';
$data['msg'] = '没有客户信息,可以忽略。'; $data['msg'] = '没有客户信息,可以忽略。';
...@@ -552,6 +552,16 @@ class CallPhoneService ...@@ -552,6 +552,16 @@ class CallPhoneService
return $data; return $data;
} }
/**
* @return array|bool|false|mixed|\PDOStatement|string|\think\Model
*/
public function getUserDataV2()
{
$redis_cache = new RedisCacheService();
$data = $redis_cache->getRedisCache(1, $this->user_id);
return $data;
}
/** /**
* 查询经纪人与客户绑定数量 * 查询经纪人与客户绑定数量
* *
......
...@@ -30,7 +30,6 @@ class Bargain extends Basic ...@@ -30,7 +30,6 @@ class Bargain extends Basic
public function bargainListSearchBargainId() public function bargainListSearchBargainId()
{ {
$params = $this->params; $params = $this->params;
/* $params = array( /* $params = array(
"submit_agent_id" => 93, "submit_agent_id" => 93,
"status" => 1,//0全部 1未结单 2已结单 3 撤销审核 4已撤销 "status" => 1,//0全部 1未结单 2已结单 3 撤销审核 4已撤销
......
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