|
|
@@ -13,7 +13,7 @@ Mixins = wsps.tasks_loop.Mixins
|
|
13
|
13
|
# class ChatConsumer(WebsocketConsumer,wsps.tasks_loop.AclTaskMixin,wsps.tasks_loop.AconMixin):
|
|
14
|
14
|
class DispConsumer():
|
|
15
|
15
|
async def ws_rec_once(self, text_data):
|
|
16
|
|
- # print("WS~~ 12")
|
|
|
16
|
+ print("WS~~ 12")
|
|
17
|
17
|
msg_data = json.loads(text_data)
|
|
18
|
18
|
if "key" in msg_data:
|
|
19
|
19
|
key = "jm_" + msg_data["key"]
|