new _backend

This commit is contained in:
2025-01-07 14:21:46 +08:00
parent 87c87aa328
commit 1fd031d6e6
59 changed files with 10633 additions and 0 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()), # 替换为实际的路径和消费者类
]