Commit e6ec3abe authored by hujun's avatar hujun

判断发送消息人员信息

parent 56b4c4f7
...@@ -211,10 +211,11 @@ class ChatService ...@@ -211,10 +211,11 @@ class ChatService
$where['only_id'] = $target; $where['only_id'] = $target;
//0用户 1经纪人
if ($is_user) { if ($is_user) {
$where['type'] = 2;
} else {
$where['type'] = 1; $where['type'] = 1;
} else {
$where['type'] = 2;
} }
$m_user = new ChatUser(); $m_user = new ChatUser();
......
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