perf: 删除冗余字段

This commit is contained in:
kuaifan
2024-11-02 10:01:42 +08:00
parent ebe953cf63
commit 87e46ec5a5
6 changed files with 36 additions and 10 deletions
-1
View File
@@ -200,7 +200,6 @@ class WebSocketDialogMsg extends AbstractModel
'msg_id' => $this->id,
'userid' => $userid,
'after' => 1,
'live' => 1,
]);
if ($msgRead->saveOrIgnore()) {
$this->send = WebSocketDialogMsgRead::whereMsgId($this->id)->count();