first update

This commit is contained in:
2024-12-30 17:01:16 +08:00
parent 728c0a0ede
commit 6e8b0a7f15
82 changed files with 11379 additions and 2 deletions

13
backend/routing.py Normal file
View File

@@ -0,0 +1,13 @@
# your_app_name/routing.py
from django.urls import path
from . import views
# HTTP 路由
# urlpatterns = [
# path('login/', views.UserView, name='userlogin'),
# ]
websocket_urlpatterns = [
path('matagent/chat', views.ChatConsumer.as_asgi()), # 替换为实际的路径和消费者类
]