balance-application/routes/auth.py
2024-09-10 16:36:03 +09:00

9 lines
194 B
Python

from fastapi import APIRouter
from service.auth_service import Credential
router = APIRouter()
@router.post("/auth/login")
def login(auth: Credential):
return {"ok": 1, "token": "Basic {}"}