perf: 优化消息已读逻辑

This commit is contained in:
kuaifan
2024-11-06 20:16:46 +08:00
parent c46fd080df
commit dace1dd1f3
6 changed files with 52 additions and 11 deletions

View File

@@ -47,6 +47,8 @@ use Carbon\Carbon;
*/
class WebSocketDialogUser extends AbstractModel
{
protected $dateFormat = 'Y-m-d H:i:s.u';
/**
* @return \Illuminate\Database\Eloquent\Relations\HasOne
*/