fix bug and add chatroom
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user