表情处理
This commit is contained in:
@@ -188,8 +188,6 @@ class MessageController extends ApiController
|
|||||||
*/
|
*/
|
||||||
public function getSessionList(Request $request): Response
|
public function getSessionList(Request $request): Response
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
// 获取所有会话ID
|
// 获取所有会话ID
|
||||||
// $sessionIds = Db::name('chat_message')->where('from_id', $this->uid)->WhereOr('to_id', $this->uid)
|
// $sessionIds = Db::name('chat_message')->where('from_id', $this->uid)->WhereOr('to_id', $this->uid)
|
||||||
// ->group('session_id')->column('session_id');
|
// ->group('session_id')->column('session_id');
|
||||||
@@ -235,6 +233,7 @@ class MessageController extends ApiController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$msg = '';
|
$msg = '';
|
||||||
|
$data[$k]['send_time_origin'] = 0;
|
||||||
if($lastMsg) {
|
if($lastMsg) {
|
||||||
switch ($lastMsg['msg_type']) {
|
switch ($lastMsg['msg_type']) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user