浏览代码

auto commit

master
jfinn 2 年前
父节点
当前提交
09ffe1526b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      wsps/consumers.py

+ 1
- 0
wsps/consumers.py 查看文件

@@ -15,6 +15,7 @@ class ChatConsumer(WebsocketConsumer):
15 15
         pass
16 16
 
17 17
     def receive(self, text_data):
18
+        p("text_data:",text_data)
18 19
         text_data_json = json.loads(text_data)
19 20
         message = text_data_json['message']
20 21
 

正在加载...
取消
保存