fix bug and add chatroom

This commit is contained in:
2024-06-18 17:13:14 +08:00
parent 73a5e6c03d
commit 926fbf187f
15 changed files with 67 additions and 213 deletions
+6 -1
View File
@@ -83,8 +83,13 @@ def to_chat_room(request):
"""
聊天室页面
"""
test_date = request.GET.get('id')
name = CooperationMind.objects.get(id=test_date).coop_mind_name
room_id = int(test_date) + 10000
param = {"page": "chat_room",
"username":request.user.username}
"username":request.user.username,
"name":name,
"room_id":room_id}
return render(request, "html/wechat_2.html", param)
def to_rengwu(request):
"""