mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 09:17:06 +08:00
11 lines
232 B
Python
11 lines
232 B
Python
from fastapi import APIRouter, Depends, Request
|
|
from common.core.deps import CurrentUser
|
|
|
|
router = APIRouter(tags=["user"], prefix="/user")
|
|
|
|
|
|
@router.get("/info")
|
|
async def user_info():
|
|
return {
|
|
"name": "admin"
|
|
} |