feat(chat、pay): 增加pay沙盒、移除杂项
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user