10 lines
239 B
Python
10 lines
239 B
Python
|
|
from fastapi import APIRouter
|
||
|
|
from app.services.system_service import SystemService
|
||
|
|
|
||
|
|
router = APIRouter(prefix='/api/system', tags=['system'])
|
||
|
|
|
||
|
|
|
||
|
|
@router.get('/status')
|
||
|
|
async def get_system_status():
|
||
|
|
return SystemService().get_status()
|