Initial commit: 浼佷笟寰俊 AI 鏈哄櫒浜哄姪鐞?MVP
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
backend/app/routers/settings.py
Normal file
15
backend/app/routers/settings.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""设置页占位:仅占位接口。"""
|
||||
from fastapi import APIRouter
|
||||
from app.logging_config import get_trace_id
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("")
|
||||
def get_settings():
|
||||
return {"code": 0, "message": "ok", "data": {}, "trace_id": get_trace_id()}
|
||||
|
||||
|
||||
@router.put("")
|
||||
def update_settings():
|
||||
return {"code": 0, "message": "ok", "data": None, "trace_id": get_trace_id()}
|
||||
Reference in New Issue
Block a user