feat(chat、pay): 增加pay沙盒、移除杂项

This commit is contained in:
xingc
2025-04-16 19:08:09 +08:00
parent e3f28ad67c
commit 124cac88d4
3 changed files with 16 additions and 30 deletions

View File

@@ -6,11 +6,7 @@
# @Desc :
import logging
from datetime import datetime
from typing import List, Dict
import redis.asyncio as aioredis
from fastapi import WebSocket
from sqlalchemy import select
from sqlalchemy.ext.asyncio import AsyncSession
from core.db.crud import CRUD
@@ -86,7 +82,7 @@ async def send_new_message(
)
await socket_manager.broadcast_to_chat(chat_guid, send_message_schema.model_dump_json())
await websocket.send_json(send_status_replay.model_dump_json())
await websocket.send_text(send_status_replay.model_dump_json())
@socket_manager.handler('chat.message_read')