mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 23:49:19 +08:00
feat: 智能助手支持软删会话并级联隐藏消息
This commit is contained in:
@@ -58,6 +58,13 @@ class MessageRepository(ABC):
|
||||
@abstractmethod
|
||||
async def next_seq(self, company_id: int, user_id: str, thread_id: str) -> int: ...
|
||||
|
||||
@abstractmethod
|
||||
async def soft_delete_by_thread(
|
||||
self, company_id: int, user_id: str, thread_id: str
|
||||
) -> int:
|
||||
"""软删某会话下全部消息,返回影响条数。"""
|
||||
...
|
||||
|
||||
|
||||
class MemoryRepository(ABC):
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user