13 lines
265 B
Python
13 lines
265 B
Python
import logging
|
|
|
|
from fastapi import APIRouter, Request
|
|
|
|
# 创建路由路由器
|
|
router = APIRouter(prefix="/api", tags=["学伴"])
|
|
|
|
# 配置日志
|
|
logger = logging.getLogger(__name__)
|
|
|
|
@router.post("/xueban")
|
|
async def xueban(request: Request):
|
|
pass |