Commit 7624003a authored by clone's avatar clone

1

parent abae1f1f
......@@ -572,12 +572,12 @@ class ChatService
//拆分查询
if ($item["type"] == 1) { //经纪人
$agent_info = $redis_service->agentCache($item["user_id"]);
$agent_info = $redis_service->getRedisCache(2,$item["user_id"]);
$item["agent_name"] = $agent_info["name"];
$item["img"] = $agent_info["img"];
$item["phone"] = $agent_info["phone"];
} elseif ($item["type"] == 2) { //用户
$user_info = $redis_service->userCache($item["user_id"]);
$user_info = $redis_service->getRedisCache(1,$item["user_id"]);
$item["user_name"] = $user_info["user_name"];
$item["user_phone"] = $user_info["user_phone"];
$item["user_nick"] = $user_info["user_nick"];
......
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