feat(scenarios): 支持场景配置加载与首页展示

This commit is contained in:
2026-05-30 00:08:00 +08:00
parent 6291940734
commit 35b80929b0
13 changed files with 256 additions and 0 deletions

7
apps/scenarios/views.py Normal file
View File

@@ -0,0 +1,7 @@
from django.shortcuts import render
from .services import list_scenarios
def index(request):
return render(request, "scenarios/index.html", {"scenarios": list_scenarios()})