Browse Source

消息发送接口返回优化2

master
wanghongjun 6 months ago
parent
commit
a96462a9df
  1. 1
      app/enterprise/model/Message.php

1
app/enterprise/model/Message.php

@ -286,7 +286,6 @@ class Message extends BaseModel
$user=new User();
// 将聊天窗口的联系人信息带上,方便临时会话
$sendData['contactInfo']=$user->setContact($sendData['toContactId'],$is_group,$sendData['type'],$sendData['content']);
$sendData['toContactId']=$data['to_user'];
// 向发送方发送消息
wsSendMsg($toContactId,$type,$sendData,$is_group);
// 判断图片查看

Loading…
Cancel
Save