测试RABBITMQ 配置

This commit is contained in:
zchen
2024-03-26 11:34:54 +08:00
parent 3ff9463e5d
commit 39678f011b
3 changed files with 6 additions and 3 deletions

View File

@@ -2,13 +2,14 @@ import logging
from fastapi import APIRouter
from app.core.config import RABBITMQ_QUEUES
logger = logging.getLogger()
router = APIRouter()
@router.get("")
def test():
logger.info(RABBITMQ_QUEUES)
logger.info("test")
return {"message": "ok"}