更新历史消息提示

main
gzydong 2021-01-21 20:14:06 +08:00
parent 433e2149e5
commit fd44a52315
1 changed files with 20 additions and 0 deletions

View File

@ -544,6 +544,11 @@ class TalkController extends CController
])
);
LastMsgCache::set([
'text' => '[图片消息]',
'created_at' => date('Y-m-d H:i:s')
],intval($params['receive_id']), $params['source'] == 1 ? $user_id : 0);
return $this->response->success();
}
@ -589,6 +594,11 @@ class TalkController extends CController
])
);
LastMsgCache::set([
'text' => '[代码消息]',
'created_at' => date('Y-m-d H:i:s')
],intval($params['receive_id']), $params['source'] == 1 ? $user_id : 0);
return $this->response->success();
}
@ -654,6 +664,11 @@ class TalkController extends CController
])
);
LastMsgCache::set([
'text' => '[文件消息]',
'created_at' => date('Y-m-d H:i:s')
],intval($params['receive_id']), $params['source'] == 1 ? $user_id : 0);
return $this->response->success();
}
@ -709,6 +724,11 @@ class TalkController extends CController
])
);
LastMsgCache::set([
'text' => '[表情包消息]',
'created_at' => date('Y-m-d H:i:s')
],intval($params['receive_id']), $params['source'] == 1 ? $user_id : 0);
return $this->response->success();
}
}