From f0f2e445f2825bff04b2cb1083a9c78f0f9a3eff Mon Sep 17 00:00:00 2001 From: evilbeast Date: Sun, 4 Sep 2022 17:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dfastapi=E9=80=80=E5=87=BA?= =?UTF-8?q?=E4=BE=8B=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi_example/mgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi_example/mgr.py b/fastapi_example/mgr.py index a8553a4..7be9b6b 100644 --- a/fastapi_example/mgr.py +++ b/fastapi_example/mgr.py @@ -56,4 +56,4 @@ class ClientManager(metaclass=Singleton): requests.post(self.callback_url, json=client_message) def __on_quit_callback(self, wechat): - self.__on_callback(wechat, {}) + self.__on_callback(wechat, {"type": ntchat.MT_RECV_WECHAT_QUIT_MSG, "data": {}})