feat:聊天列表头部添加代办标签

This commit is contained in:
weifashi
2023-08-06 23:47:36 +08:00
parent b79fdbd7e0
commit 40474319e3
5 changed files with 15 additions and 0 deletions
+1
View File
@@ -193,6 +193,7 @@ class WebSocketDialog extends AbstractModel
$this->has_image = $msgBuilder->clone()->whereMtype('image')->exists();
$this->has_file = $msgBuilder->clone()->whereMtype('file')->exists();
$this->has_link = $msgBuilder->clone()->whereLink(1)->exists();
$this->has_todo = $msgBuilder->clone()->where('todo', '>', 0)->exists();
}
return $this;
}