Browse Source

优化ai已读数据接口

master
wanghongjun 7 months ago
parent
commit
0e435c01af
  1. 2
      app/enterprise/controller/Im.php

2
app/enterprise/controller/Im.php

@ -431,6 +431,8 @@ class Im extends BaseController
wsSendMsg($to_user, 'readAll', ['toContactId' => $this->userInfo['user_id']]); wsSendMsg($to_user, 'readAll', ['toContactId' => $this->userInfo['user_id']]);
} else if($is_group==2){ } else if($is_group==2){
$chat_identify = $to_user; $chat_identify = $to_user;
} else if($is_group==4){
$chat_identify = chat_identify($this->userInfo['user_id'], $to_user);
} }
return $chat_identify; return $chat_identify;
} }

Loading…
Cancel
Save